#EC97D2#EC97D2

#EC97D2 is a light, vivid pink. Relative luminance 0.446; OKLCH L 78.0% C 0.125 H 339.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#EC97D2
RGBrgb(236, 151, 210)
HSLhsl(318, 69%, 76%)
HSVhsv(318, 36%, 93%)
CMYKcmyk(0%, 36%, 11%, 7.5%)
CIE-LABlab(72.64, 40.28, -16.90)
CIE-LCHlch(72.64, 43.69, 337.24°)
OKLaboklab(78.01% 0.1171 -0.0451)
OKLCHoklch(78.01% 0.125 339)
XYZxyz(57.2915, 44.6223, 66.5555)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97D2 #97ECB1
analogous
#DB97EC #EC97D2 #EC97A7
triadic
#EC97D2 #D2EC97 #97D2EC
tetradic
#EC97D2 #ECDB97 #97ECB1 #97A7EC
square
#EC97D2 #ECDB97 #97ECB1 #97A7EC
split-complementary
#EC97D2 #A7EC97 #97ECDB
monochromatic
#D930A5 #E363BC #EC97D2 #F5CBE8 #FAE5F4

Accessibility & contrast

On white

2.12
#EC97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#EC97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97D2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97D2#FFFFFF#000000##000000
##EC97D21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAAD4
Deuteranopia (green-blind)
#AFB7D0
Tritanopia (blue-blind)
#F599AC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec97d2;
/* rgb */ color: rgb(236, 151, 210);
/* oklch */ color: oklch(78.0% 0.125 339.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7df',
    500: '#ec97d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec97d2;
$custom-light: #f3b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97d2",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 318.353,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78009,
    "c": 0.12548,
    "h": 339
  },
  "luminance": 0.44619
}

Semantic roles & 50–950 ramp

primary
#EC97D2
secondary
#D9F2E1
accent
#D14E14
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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