#EF8CB5#EF8CB5

#EF8CB5 is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.6% C 0.129 H 354.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#EF8CB5
RGBrgb(239, 140, 181)
HSLhsl(335, 76%, 74%)
HSVhsv(335, 41%, 94%)
CMYKcmyk(0%, 41.4%, 24.3%, 6.3%)
CIE-LABlab(69.79, 42.59, -5.05)
CIE-LCHlch(69.79, 42.89, 353.24°)
OKLaboklab(75.62% 0.1281 -0.0128)
OKLCHoklch(75.62% 0.129 354.3)
XYZxyz(53.3165, 40.4470, 48.7060)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CB5 #8CEFC6
analogous
#EF8CE6 #EF8CB5 #EF958C
triadic
#EF8CB5 #B5EF8C #8CB5EF
tetradic
#EF8CB5 #E6EF8C #8CEFC6 #958CEF
square
#EF8CB5 #E6EF8C #8CEFC6 #958CEF
split-complementary
#EF8CB5 #8CEF95 #8CE6EF
monochromatic
#E02170 #E85692 #EF8CB5 #F6C2D8 #FBE4EE

Accessibility & contrast

On white

2.31
#EF8CB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#EF8CB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CB5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CB5#FFFFFF#000000##000000
##EF8CB51.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A0B6
Deuteranopia (green-blind)
#B1B1B3
Tritanopia (blue-blind)
#FD889B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef8cb5;
/* rgb */ color: rgb(239, 140, 181);
/* oklch */ color: oklch(75.6% 0.129 354.3);
Tailwind
colors: {
  custom: {
    50: '#f6afcb',
    500: '#ef8cb5',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cb5;
$custom-light: #f6afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cb5",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 335.152,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75624,
    "c": 0.12878,
    "h": 354.3
  },
  "luminance": 0.40443
}

Semantic roles & 50–950 ramp

primary
#EF8CB5
secondary
#D8F3E8
accent
#D8840E
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #EF8CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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