#F28FA7

A color in the Red, Pink family

#f28fa7 is a color in the Red, Pink family: RGB(242, 143, 167), HSL(345°, 79%, 75%), CMYK(0%, 41%, 31%, 5%). Closest named color: lightcoral. Contrast is 2.27:1 on white and 9.26:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f28fa7
RGBrgb(242 143 167)
RGB (legacy)rgb(242, 143, 167)
RGB %rgb(95% 56% 65%)
HSLhsl(345 79% 75%)
HSV / HSBhsv(345, 41%, 95%)
HWBhwb(345 56% 5%)
CMYKcmyk(0%, 41%, 31%, 5%)
CIELAB (D50)lab(70.73 40.4 4.44)
LCHlch(70.73 40.65 6.27)
OKLaboklab(0.7604 0.1219 0.0102)
OKLCHoklch(0.7604 0.1223 4.78)
Decimal15896487

Properties

Color ToneRed, Pink
Closest named colorlightcoral ΔE 5.4
Closest web-safe color#ff9999
Hue345°
Saturation (HSL / HSV)79% / 41%
Lightness (HSL)75%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)69% / 65%
Relative luminance (WCAG)0.4131
Red / Green / Blue242 / 143 / 167

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.26:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 44.4 / -57.7 · As background with white / black text: Lc -49.3 / 59.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f28fa7;
  --color-brand-oklch: oklch(76.04% 0.1223 4.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 143 167 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f28fa7] text-[#f28fa7] border-[#f28fa7]">