#E97FA5#E97FA5

#E97FA5 is a light, vivid pink. Relative luminance 0.352; OKLCH L 72.4% C 0.136 H 358.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#E97FA5
RGBrgb(233, 127, 165)
HSLhsl(338, 71%, 71%)
HSVhsv(338, 45%, 91%)
CMYKcmyk(0%, 45.5%, 29.2%, 8.6%)
CIE-LABlab(65.92, 45.02, -1.83)
CIE-LCHlch(65.92, 45.06, 357.67°)
OKLaboklab(72.39% 0.1363 -0.0042)
OKLCHoklch(72.39% 0.136 358.2)
XYZxyz(47.9869, 35.2230, 39.8614)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FA5 #7FE9C3
analogous
#E97FDA #E97FA5 #E98E7F
triadic
#E97FA5 #A5E97F #7FA5E9
tetradic
#E97FA5 #DAE97F #7FE9C3 #8E7FE9
square
#E97FA5 #DAE97F #7FE9C3 #8E7FE9
split-complementary
#E97FA5 #7FE98E #7FDAE9
monochromatic
#CB235F #E04B80 #E97FA5 #F2B3CA #FBE5ED

Accessibility & contrast

On white

2.61
#E97FA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#E97FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FA5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FA5#FFFFFF#000000##000000
##E97FA51.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E94A6
Deuteranopia (green-blind)
#A9A7A3
Tritanopia (blue-blind)
#F8788D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e97fa5;
/* rgb */ color: rgb(233, 127, 165);
/* oklch */ color: oklch(72.4% 0.136 358.2);
Tailwind
colors: {
  custom: {
    50: '#f2a6bf',
    500: '#e97fa5',
    950: '#000000',
  },
}
SCSS
$custom: #e97fa5;
$custom-light: #f2a6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fa5",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 338.491,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.13637,
    "h": 358.2
  },
  "luminance": 0.35219
}

Semantic roles & 50–950 ramp

primary
#E97FA5
secondary
#D4F0E6
accent
#D38E13
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E97FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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