#EF8CD9#EF8CD9

#EF8CD9 is a light, vivid pink. Relative luminance 0.421; OKLCH L 76.9% C 0.152 H 335.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#EF8CD9
RGBrgb(239, 140, 217)
HSLhsl(313, 76%, 74%)
HSVhsv(313, 41%, 94%)
CMYKcmyk(0%, 41.4%, 9.2%, 6.3%)
CIE-LABlab(70.95, 48.07, -23.30)
CIE-LCHlch(70.95, 53.42, 334.15°)
OKLaboklab(76.89% 0.1388 -0.0627)
OKLCHoklch(76.89% 0.152 335.7)
XYZxyz(57.4990, 42.1199, 70.7336)
Luminance0.4212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CD9 #8CEFA2
analogous
#D48CEF #EF8CD9 #EF8CA8
triadic
#EF8CD9 #D9EF8C #8CD9EF
tetradic
#EF8CD9 #EFD48C #8CEFA2 #8CA8EF
square
#EF8CD9 #EFD48C #8CEFA2 #8CA8EF
split-complementary
#EF8CD9 #A8EF8C #8CEFD4
monochromatic
#E021B5 #E856C7 #EF8CD9 #F6C2EB #FBE4F6

Accessibility & contrast

On white

2.23
#EF8CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#EF8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CD9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CD9#FFFFFF#000000##000000
##EF8CD91.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DC
Deuteranopia (green-blind)
#A7B3D6
Tritanopia (blue-blind)
#F890A9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef8cd9;
/* rgb */ color: rgb(239, 140, 217);
/* oklch */ color: oklch(76.9% 0.152 335.7);
Tailwind
colors: {
  custom: {
    50: '#f6b0e5',
    500: '#ef8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cd9;
$custom-light: #f6b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cd9",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 313.333,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76889,
    "c": 0.15226,
    "h": 335.7
  },
  "luminance": 0.42117
}

Semantic roles & 50–950 ramp

primary
#EF8CD9
secondary
#D8F3DE
accent
#D83B0E
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #EF8CD9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EF8CD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva