#E97CD5#E97CD5

#E97CD5 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.7% C 0.171 H 334.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#E97CD5
RGBrgb(233, 124, 213)
HSLhsl(311, 71%, 70%)
HSVhsv(311, 47%, 91%)
CMYKcmyk(0%, 46.8%, 8.6%, 8.6%)
CIE-LABlab(66.94, 53.60, -27.30)
CIE-LCHlch(66.94, 60.15, 333.01°)
OKLaboklab(73.67% 0.1544 -0.0738)
OKLCHoklch(73.67% 0.171 334.4)
XYZxyz(52.8221, 36.5464, 67.2098)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97CD5 #7CE990
analogous
#C67CE9 #E97CD5 #E97C9F
triadic
#E97CD5 #D5E97C #7CD5E9
tetradic
#E97CD5 #E9C67C #7CE990 #7C9FE9
square
#E97CD5 #E9C67C #7CE990 #7C9FE9
split-complementary
#E97CD5 #9FE97C #7CE9C6
monochromatic
#C922AA #E048C4 #E97CD5 #F2B0E6 #FBE5F7

Accessibility & contrast

On white

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

On black

8.31
#E97CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97CD5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97CD5#FFFFFF#000000##000000
##E97CD51.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#9AA9D2
Tritanopia (blue-blind)
#F2829F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e97cd5;
/* rgb */ color: rgb(233, 124, 213);
/* oklch */ color: oklch(73.7% 0.171 334.4);
Tailwind
colors: {
  custom: {
    50: '#f2a5e2',
    500: '#e97cd5',
    950: '#000000',
  },
}
SCSS
$custom: #e97cd5;
$custom-light: #f2a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e97cd5",
  "rgb": {
    "r": 233,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 311.009,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.73674,
    "c": 0.17116,
    "h": 334.4
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

primary
#E97CD5
secondary
#D1F0D7
accent
#D33612
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E97CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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