#EC97AF#EC97AF

#EC97AF is a light, moderate pink. Relative luminance 0.431; OKLCH L 76.9% C 0.106 H 1.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#EC97AF
RGBrgb(236, 151, 175)
HSLhsl(343, 69%, 76%)
HSVhsv(343, 36%, 93%)
CMYKcmyk(0%, 36%, 25.8%, 7.5%)
CIE-LABlab(71.60, 34.99, 0.91)
CIE-LCHlch(71.60, 35.00, 1.49°)
OKLaboklab(76.87% 0.1057 0.0029)
OKLCHoklch(76.87% 0.106 1.6)
XYZxyz(53.3979, 43.0648, 46.0490)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97AF #97ECD4
analogous
#EC97D9 #EC97AF #ECA997
triadic
#EC97AF #AFEC97 #97AFEC
tetradic
#EC97AF #D9EC97 #97ECD4 #A997EC
square
#EC97AF #D9EC97 #97ECD4 #A997EC
split-complementary
#EC97AF #97ECA9 #97D9EC
monochromatic
#D9305F #E36387 #EC97AF #F5CBD7 #FAE5EB

Accessibility & contrast

On white

2.18
#EC97AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#EC97AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97AF
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97AF#FFFFFF#000000##000000
##EC97AF1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A6B0
Deuteranopia (green-blind)
#B8B5AD
Tritanopia (blue-blind)
#FA929F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec97af;
/* rgb */ color: rgb(236, 151, 175);
/* oklch */ color: oklch(76.9% 0.106 1.6);
Tailwind
colors: {
  custom: {
    50: '#f4b6c6',
    500: '#ec97af',
    950: '#000000',
  },
}
SCSS
$custom: #ec97af;
$custom-light: #f4b6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97af",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 343.059,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76871,
    "c": 0.10569,
    "h": 1.6
  },
  "luminance": 0.43061
}

Semantic roles & 50–950 ramp

primary
#EC97AF
secondary
#D9F2EB
accent
#D19C14
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC97AF

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

Preview Lab → · Contrast checker → · Palette generator →

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