#E97FD7#E97FD7

#E97FD7 is a light, vivid pink. Relative luminance 0.374; OKLCH L 74.2% C 0.168 H 333.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E97FD7
RGBrgb(233, 127, 215)
HSLhsl(310, 71%, 71%)
HSVhsv(310, 45%, 91%)
CMYKcmyk(0%, 45.5%, 7.7%, 8.6%)
CIE-LABlab(67.58, 52.45, -27.41)
CIE-LCHlch(67.58, 59.18, 332.41°)
OKLaboklab(74.18% 0.1506 -0.0742)
OKLCHoklch(74.18% 0.168 333.8)
XYZxyz(53.4592, 37.4119, 68.6822)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FD7 #7FE991
analogous
#C67FE9 #E97FD7 #E97FA2
triadic
#E97FD7 #D7E97F #7FD7E9
tetradic
#E97FD7 #E9C67F #7FE991 #7FA2E9
square
#E97FD7 #E9C67F #7FE991 #7FA2E9
split-complementary
#E97FD7 #A2E97F #7FE9C6
monochromatic
#CB23AE #E04BC7 #E97FD7 #F2B3E7 #FBE5F7

Accessibility & contrast

On white

2.48
#E97FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E97FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FD7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FD7#FFFFFF#000000##000000
##E97FD71.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9BDA
Deuteranopia (green-blind)
#9BAAD4
Tritanopia (blue-blind)
#F285A1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97fd7;
/* rgb */ color: rgb(233, 127, 215);
/* oklch */ color: oklch(74.2% 0.168 333.8);
Tailwind
colors: {
  custom: {
    50: '#f2a7e3',
    500: '#e97fd7',
    950: '#000000',
  },
}
SCSS
$custom: #e97fd7;
$custom-light: #f2a7e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fd7",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 310.189,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74184,
    "c": 0.16785,
    "h": 333.8
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#E97FD7
secondary
#D4F0D8
accent
#D33313
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E97FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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