#EC97AB#EC97AB

#EC97AB is a light, moderate red. Relative luminance 0.429; OKLCH L 76.8% C 0.105 H 4.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#EC97AB
RGBrgb(236, 151, 171)
HSLhsl(346, 69%, 76%)
HSVhsv(346, 36%, 93%)
CMYKcmyk(0%, 36%, 27.5%, 7.5%)
CIE-LABlab(71.49, 34.44, 2.98)
CIE-LCHlch(71.49, 34.57, 4.94°)
OKLaboklab(76.76% 0.1042 0.0083)
OKLCHoklch(76.76% 0.105 4.5)
XYZxyz(53.0108, 42.9100, 44.0106)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97AB #97ECD8
analogous
#EC97D5 #EC97AB #ECAD97
triadic
#EC97AB #ABEC97 #97ABEC
tetradic
#EC97AB #D5EC97 #97ECD8 #AD97EC
square
#EC97AB #D5EC97 #97ECD8 #AD97EC
split-complementary
#EC97AB #97ECAD #97D5EC
monochromatic
#D93057 #E36381 #EC97AB #F5CBD5 #FAE5EA

Accessibility & contrast

On white

2.19
#EC97AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#EC97AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97AB
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97AB#FFFFFF#000000##000000
##EC97AB1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A6AC
Deuteranopia (green-blind)
#B8B5A9
Tritanopia (blue-blind)
#FA919E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec97ab;
/* rgb */ color: rgb(236, 151, 171);
/* oklch */ color: oklch(76.8% 0.105 4.5);
Tailwind
colors: {
  custom: {
    50: '#f4b6c3',
    500: '#ec97ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ab;
$custom-light: #f4b6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ab",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 345.882,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76756,
    "c": 0.10453,
    "h": 4.5
  },
  "luminance": 0.42906
}

Semantic roles & 50–950 ramp

primary
#EC97AB
secondary
#D9F2EC
accent
#D1A514
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #EC97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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