#E97ED5#E97ED5

#E97ED5 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.0% C 0.168 H 334.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#E97ED5
RGBrgb(233, 126, 213)
HSLhsl(311, 71%, 70%)
HSVhsv(311, 46%, 91%)
CMYKcmyk(0%, 45.9%, 8.6%, 8.6%)
CIE-LABlab(67.32, 52.62, -26.71)
CIE-LCHlch(67.32, 59.01, 333.08°)
OKLaboklab(73.96% 0.1516 -0.0722)
OKLCHoklch(73.96% 0.168 334.5)
XYZxyz(53.0753, 37.0527, 67.2942)
Luminance0.3705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97ED5 #7EE992
analogous
#C77EE9 #E97ED5 #E97E9F
triadic
#E97ED5 #D5E97E #7ED5E9
tetradic
#E97ED5 #E9C77E #7EE992 #7E9FE9
square
#E97ED5 #E9C77E #7EE992 #7E9FE9
split-complementary
#E97ED5 #9FE97E #7EE9C7
monochromatic
#CA22AB #E04AC4 #E97ED5 #F2B2E6 #FBE5F6

Accessibility & contrast

On white

2.50
#E97ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#E97ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97ED5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97ED5#FFFFFF#000000##000000
##E97ED51.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD8
Deuteranopia (green-blind)
#9BAAD2
Tritanopia (blue-blind)
#F283A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e97ed5;
/* rgb */ color: rgb(233, 126, 213);
/* oklch */ color: oklch(74.0% 0.168 334.5);
Tailwind
colors: {
  custom: {
    50: '#f2a6e2',
    500: '#e97ed5',
    950: '#000000',
  },
}
SCSS
$custom: #e97ed5;
$custom-light: #f2a6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ed5",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 311.215,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73959,
    "c": 0.16787,
    "h": 334.5
  },
  "luminance": 0.37049
}

Semantic roles & 50–950 ramp

primary
#E97ED5
secondary
#D3F0D8
accent
#D33713
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E97ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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