#EF8AB2#EF8AB2

#EF8AB2 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.2% C 0.131 H 355.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EF8AB2
RGBrgb(239, 138, 178)
HSLhsl(336, 76%, 74%)
HSVhsv(336, 42%, 94%)
CMYKcmyk(0%, 42.3%, 25.5%, 6.3%)
CIE-LABlab(69.29, 43.20, -4.11)
CIE-LCHlch(69.29, 43.40, 354.57°)
OKLaboklab(75.22% 0.1302 -0.0103)
OKLCHoklch(75.22% 0.131 355.5)
XYZxyz(52.7224, 39.7460, 47.0058)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AB2 #8AEFC7
analogous
#EF8AE4 #EF8AB2 #EF958A
triadic
#EF8AB2 #B2EF8A #8AB2EF
tetradic
#EF8AB2 #E4EF8A #8AEFC7 #958AEF
square
#EF8AB2 #E4EF8A #8AEFC7 #958AEF
split-complementary
#EF8AB2 #8AEF95 #8AE4EF
monochromatic
#E01F6B #E8548F #EF8AB2 #F6C0D5 #FBE4ED

Accessibility & contrast

On white

2.35
#EF8AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EF8AB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AB2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AB2#FFFFFF#000000##000000
##EF8AB21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#979EB3
Deuteranopia (green-blind)
#B0B0B0
Tritanopia (blue-blind)
#FD8598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef8ab2;
/* rgb */ color: rgb(239, 138, 178);
/* oklch */ color: oklch(75.2% 0.131 355.5);
Tailwind
colors: {
  custom: {
    50: '#f6aec9',
    500: '#ef8ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ab2;
$custom-light: #f6aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ab2",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 336.238,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75217,
    "c": 0.13063,
    "h": 355.5
  },
  "luminance": 0.39742
}

Semantic roles & 50–950 ramp

primary
#EF8AB2
secondary
#D8F3E8
accent
#D8880D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EF8AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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