#E97FAC#E97FAC

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

Color values

HEX#E97FAC
RGBrgb(233, 127, 172)
HSLhsl(335, 71%, 71%)
HSVhsv(335, 45%, 91%)
CMYKcmyk(0%, 45.5%, 26.2%, 8.6%)
CIE-LABlab(66.12, 45.95, -5.49)
CIE-LCHlch(66.12, 46.28, 353.19°)
OKLaboklab(72.61% 0.1386 -0.0139)
OKLCHoklch(72.61% 0.139 354.3)
XYZxyz(48.6415, 35.4848, 43.3091)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FAC #7FE9BC
analogous
#E97FE1 #E97FAC #E9877F
triadic
#E97FAC #ACE97F #7FACE9
tetradic
#E97FAC #E1E97F #7FE9BC #877FE9
square
#E97FAC #E1E97F #7FE9BC #877FE9
split-complementary
#E97FAC #7FE987 #7FE1E9
monochromatic
#CB236A #E04B8A #E97FAC #F2B3CE #FBE5EE

Accessibility & contrast

On white

2.59
#E97FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#E97FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FAC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FAC#FFFFFF#000000##000000
##E97FAC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e97fac;
/* rgb */ color: rgb(233, 127, 172);
/* oklch */ color: oklch(72.6% 0.139 354.3);
Tailwind
colors: {
  custom: {
    50: '#f2a6c4',
    500: '#e97fac',
    950: '#000000',
  },
}
SCSS
$custom: #e97fac;
$custom-light: #f2a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fac",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 334.528,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.13934,
    "h": 354.3
  },
  "luminance": 0.35481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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