#E97FAB#E97FAB

#E97FAB is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.6% C 0.139 H 354.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#E97FAB
RGBrgb(233, 127, 171)
HSLhsl(335, 71%, 71%)
HSVhsv(335, 45%, 91%)
CMYKcmyk(0%, 45.5%, 26.6%, 8.6%)
CIE-LABlab(66.09, 45.82, -4.97)
CIE-LCHlch(66.09, 46.09, 353.81°)
OKLaboklab(72.58% 0.1383 -0.0125)
OKLCHoklch(72.58% 0.139 354.8)
XYZxyz(48.5459, 35.4466, 42.8052)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FAB #7FE9BD
analogous
#E97FE0 #E97FAB #E9887F
triadic
#E97FAB #ABE97F #7FABE9
tetradic
#E97FAB #E0E97F #7FE9BD #887FE9
square
#E97FAB #E0E97F #7FE9BD #887FE9
split-complementary
#E97FAB #7FE988 #7FE0E9
monochromatic
#CB2369 #E04B89 #E97FAB #F2B3CD #FBE5EE

Accessibility & contrast

On white

2.60
#E97FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#E97FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FAB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FAB#FFFFFF#000000##000000
##E97FAB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AC
Deuteranopia (green-blind)
#A8A8A8
Tritanopia (blue-blind)
#F77A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e97fab;
/* rgb */ color: rgb(233, 127, 171);
/* oklch */ color: oklch(72.6% 0.139 354.8);
Tailwind
colors: {
  custom: {
    50: '#f2a6c4',
    500: '#e97fab',
    950: '#000000',
  },
}
SCSS
$custom: #e97fab;
$custom-light: #f2a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fab",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 335.094,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72575,
    "c": 0.13888,
    "h": 354.8
  },
  "luminance": 0.35443
}

Semantic roles & 50–950 ramp

primary
#E97FAB
secondary
#D4F0E4
accent
#D38313
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #E97FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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