#EF8CD4#EF8CD4

#EF8CD4 is a light, vivid pink. Relative luminance 0.419; OKLCH L 76.7% C 0.148 H 337.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EF8CD4
RGBrgb(239, 140, 212)
HSLhsl(316, 76%, 74%)
HSVhsv(316, 41%, 94%)
CMYKcmyk(0%, 41.4%, 11.3%, 6.3%)
CIE-LABlab(70.78, 47.26, -20.80)
CIE-LCHlch(70.78, 51.63, 336.24°)
OKLaboklab(76.7% 0.1375 -0.0557)
OKLCHoklch(76.7% 0.148 337.9)
XYZxyz(56.8585, 41.8637, 67.3603)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CD4 #8CEFA7
analogous
#D98CEF #EF8CD4 #EF8CA3
triadic
#EF8CD4 #D4EF8C #8CD4EF
tetradic
#EF8CD4 #EFD98C #8CEFA7 #8CA3EF
square
#EF8CD4 #EFD98C #8CEFA7 #8CA3EF
split-complementary
#EF8CD4 #A3EF8C #8CEFD9
monochromatic
#E021AC #E856C0 #EF8CD4 #F6C2E8 #FBE4F5

Accessibility & contrast

On white

2.24
#EF8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#EF8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CD4
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CD4#FFFFFF#000000##000000
##EF8CD41.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D7
Deuteranopia (green-blind)
#A8B3D1
Tritanopia (blue-blind)
#F98FA7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef8cd4;
/* rgb */ color: rgb(239, 140, 212);
/* oklch */ color: oklch(76.7% 0.148 337.9);
Tailwind
colors: {
  custom: {
    50: '#f6b0e1',
    500: '#ef8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cd4;
$custom-light: #f6b0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cd4",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 316.364,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76698,
    "c": 0.14832,
    "h": 337.9
  },
  "luminance": 0.4186
}

Semantic roles & 50–950 ramp

primary
#EF8CD4
secondary
#D8F3DF
accent
#D8450E
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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