#EF7FAB#EF7FAB

#EF7FAB is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.3% C 0.145 H 356.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#EF7FAB
RGBrgb(239, 127, 171)
HSLhsl(336, 78%, 72%)
HSVhsv(336, 47%, 94%)
CMYKcmyk(0%, 46.9%, 28.5%, 6.3%)
CIE-LABlab(66.88, 47.83, -3.72)
CIE-LCHlch(66.88, 47.97, 355.55°)
OKLaboklab(73.33% 0.1447 -0.0092)
OKLCHoklch(73.33% 0.145 356.4)
XYZxyz(50.5385, 36.4740, 42.8986)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7FAB #7FEFC3
analogous
#EF7FE3 #EF7FAB #EF8B7F
triadic
#EF7FAB #ABEF7F #7FABEF
tetradic
#EF7FAB #E3EF7F #7FEFC3 #8B7FEF
square
#EF7FAB #E3EF7F #7FEFC3 #8B7FEF
split-complementary
#EF7FAB #7FEF8B #7FE3EF
monochromatic
#D91B65 #E84987 #EF7FAB #F6B5CF #FCE4ED

Accessibility & contrast

On white

2.53
#EF7FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#EF7FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7FAB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7FAB#FFFFFF#000000##000000
##EF7FAB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E96AC
Deuteranopia (green-blind)
#ABAAA8
Tritanopia (blue-blind)
#FE798F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ef7fab;
/* rgb */ color: rgb(239, 127, 171);
/* oklch */ color: oklch(73.3% 0.145 356.4);
Tailwind
colors: {
  custom: {
    50: '#f7a7c4',
    500: '#ef7fab',
    950: '#000000',
  },
}
SCSS
$custom: #ef7fab;
$custom-light: #f7a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7fab",
  "rgb": {
    "r": 239,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 336.429,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73331,
    "c": 0.14501,
    "h": 356.4
  },
  "luminance": 0.3647
}

Semantic roles & 50–950 ramp

primary
#EF7FAB
secondary
#D7F3E8
accent
#DA890B
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EF7FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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