#EF8CD7#EF8CD7

#EF8CD7 is a light, vivid pink. Relative luminance 0.420; OKLCH L 76.8% C 0.151 H 336.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#EF8CD7
RGBrgb(239, 140, 215)
HSLhsl(315, 76%, 74%)
HSVhsv(315, 41%, 94%)
CMYKcmyk(0%, 41.4%, 10%, 6.3%)
CIE-LABlab(70.88, 47.75, -22.30)
CIE-LCHlch(70.88, 52.70, 334.97°)
OKLaboklab(76.81% 0.1383 -0.0599)
OKLCHoklch(76.81% 0.151 336.6)
XYZxyz(57.2404, 42.0165, 69.3718)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CD7 #8CEFA4
analogous
#D58CEF #EF8CD7 #EF8CA6
triadic
#EF8CD7 #D7EF8C #8CD7EF
tetradic
#EF8CD7 #EFD58C #8CEFA4 #8CA6EF
square
#EF8CD7 #EFD58C #8CEFA4 #8CA6EF
split-complementary
#EF8CD7 #A6EF8C #8CEFD5
monochromatic
#E021B2 #E856C4 #EF8CD7 #F6C2EA #FBE4F6

Accessibility & contrast

On white

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

On black

9.40
#EF8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CD7
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CD7#FFFFFF#000000##000000
##EF8CD71.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA4DA
Deuteranopia (green-blind)
#A7B3D4
Tritanopia (blue-blind)
#F88FA8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef8cd7;
/* rgb */ color: rgb(239, 140, 215);
/* oklch */ color: oklch(76.8% 0.151 336.6);
Tailwind
colors: {
  custom: {
    50: '#f6b0e3',
    500: '#ef8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cd7;
$custom-light: #f6b0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cd7",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 314.545,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76812,
    "c": 0.15066,
    "h": 336.6
  },
  "luminance": 0.42013
}

Semantic roles & 50–950 ramp

primary
#EF8CD7
secondary
#D8F3DF
accent
#D83F0E
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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