#EF8CB2#EF8CB2

#EF8CB2 is a light, vivid pink. Relative luminance 0.403; OKLCH L 75.5% C 0.127 H 356.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#EF8CB2
RGBrgb(239, 140, 178)
HSLhsl(337, 76%, 74%)
HSVhsv(337, 41%, 94%)
CMYKcmyk(0%, 41.4%, 25.5%, 6.3%)
CIE-LABlab(69.70, 42.18, -3.50)
CIE-LCHlch(69.70, 42.32, 355.26°)
OKLaboklab(75.53% 0.1271 -0.0087)
OKLCHoklch(75.53% 0.127 356.1)
XYZxyz(53.0120, 40.3252, 47.1023)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CB2 #8CEFC9
analogous
#EF8CE4 #EF8CB2 #EF988C
triadic
#EF8CB2 #B2EF8C #8CB2EF
tetradic
#EF8CB2 #E4EF8C #8CEFC9 #988CEF
square
#EF8CB2 #E4EF8C #8CEFC9 #988CEF
split-complementary
#EF8CB2 #8CEF98 #8CE4EF
monochromatic
#E0216A #E8568E #EF8CB2 #F6C2D6 #FBE4ED

Accessibility & contrast

On white

2.32
#EF8CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#EF8CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CB2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CB2#FFFFFF#000000##000000
##EF8CB21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#B1B1B0
Tritanopia (blue-blind)
#FD8799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef8cb2;
/* rgb */ color: rgb(239, 140, 178);
/* oklch */ color: oklch(75.5% 0.127 356.1);
Tailwind
colors: {
  custom: {
    50: '#f6afc9',
    500: '#ef8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cb2;
$custom-light: #f6afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cb2",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 336.97,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7553,
    "c": 0.12744,
    "h": 356.1
  },
  "luminance": 0.40321
}

Semantic roles & 50–950 ramp

primary
#EF8CB2
secondary
#D8F3E9
accent
#D88A0E
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #EF8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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