#E97ECB#E97ECB

#E97ECB is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.6% C 0.160 H 338.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#E97ECB
RGBrgb(233, 126, 203)
HSLhsl(317, 71%, 70%)
HSVhsv(317, 46%, 91%)
CMYKcmyk(0%, 45.9%, 12.9%, 8.6%)
CIE-LABlab(66.95, 51.01, -21.70)
CIE-LCHlch(66.95, 55.43, 336.96°)
OKLaboklab(73.56% 0.1492 -0.0582)
OKLCHoklch(73.56% 0.16 338.7)
XYZxyz(51.8450, 36.5606, 60.8145)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97ECB #7EE99C
analogous
#D17EE9 #E97ECB #E97E96
triadic
#E97ECB #CBE97E #7ECBE9
tetradic
#E97ECB #E9D17E #7EE99C #7E96E9
square
#E97ECB #E9D17E #7EE99C #7E96E9
split-complementary
#E97ECB #96E97E #7EE9D1
monochromatic
#CA229B #E04AB6 #E97ECB #F2B2E0 #FBE5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E97ECB#FFFFFF#000000##000000
##E97ECB1.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)
#8199CE
Deuteranopia (green-blind)
#9EA9C8
Tritanopia (blue-blind)
#F3819B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e97ecb;
/* rgb */ color: rgb(233, 126, 203);
/* oklch */ color: oklch(73.6% 0.160 338.7);
Tailwind
colors: {
  custom: {
    50: '#f2a6db',
    500: '#e97ecb',
    950: '#000000',
  },
}
SCSS
$custom: #e97ecb;
$custom-light: #f2a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ecb",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 316.822,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.1601,
    "h": 338.7
  },
  "luminance": 0.36557
}

Semantic roles & 50–950 ramp

primary
#E97ECB
secondary
#D3F0DB
accent
#D34913
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#171015
muted
#857F83

Preview Lab

Preview with #E97ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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