#E97FA2#E97FA2

#E97FA2 is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.3% C 0.135 H 360.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#E97FA2
RGBrgb(233, 127, 162)
HSLhsl(340, 71%, 71%)
HSVhsv(340, 45%, 91%)
CMYKcmyk(0%, 45.5%, 30.5%, 8.6%)
CIE-LABlab(65.84, 44.64, -0.25)
CIE-LCHlch(65.84, 44.64, 359.68°)
OKLaboklab(72.3% 0.1353 -0.0001)
OKLCHoklch(72.3% 0.135 0)
XYZxyz(47.7171, 35.1150, 38.4402)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FA2 #7FE9C6
analogous
#E97FD7 #E97FA2 #E9917F
triadic
#E97FA2 #A2E97F #7FA2E9
tetradic
#E97FA2 #D7E97F #7FE9C6 #917FE9
square
#E97FA2 #D7E97F #7FE9C6 #917FE9
split-complementary
#E97FA2 #7FE991 #7FD7E9
monochromatic
#CB235A #E04B7C #E97FA2 #F2B3C8 #FBE5EC

Accessibility & contrast

On white

2.62
#E97FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#E97FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FA2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FA2#FFFFFF#000000##000000
##E97FA21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#AAA7A0
Tritanopia (blue-blind)
#F8788C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e97fa2;
/* rgb */ color: rgb(233, 127, 162);
/* oklch */ color: oklch(72.3% 0.135 360.0);
Tailwind
colors: {
  custom: {
    50: '#f3a6bd',
    500: '#e97fa2',
    950: '#000000',
  },
}
SCSS
$custom: #e97fa2;
$custom-light: #f3a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fa2",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 340.189,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.13527,
    "h": 360
  },
  "luminance": 0.35111
}

Semantic roles & 50–950 ramp

primary
#E97FA2
secondary
#D4F0E7
accent
#D39313
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E97FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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