#EC9997#EC9997

#EC9997 is a light, moderate red. Relative luminance 0.428; OKLCH L 76.6% C 0.100 H 21.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#EC9997
RGBrgb(236, 153, 151)
HSLhsl(1, 69%, 76%)
HSVhsv(1, 36%, 93%)
CMYKcmyk(0%, 35.2%, 36%, 7.5%)
CIE-LABlab(71.46, 30.85, 14.01)
CIE-LCHlch(71.46, 33.88, 24.42°)
OKLaboklab(76.57% 0.0935 0.0362)
OKLCHoklch(76.57% 0.1 21.2)
XYZxyz(51.5713, 42.8535, 34.8275)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9997 #97EAEC
analogous
#EC97BF #EC9997 #ECC397
triadic
#EC9997 #97EC99 #9997EC
tetradic
#EC9997 #BFEC97 #97EAEC #C397EC
square
#EC9997 #BFEC97 #97EAEC #C397EC
split-complementary
#EC9997 #97ECC3 #97BFEC
monochromatic
#D93330 #E36663 #EC9997 #F5CCCB #FAE6E5

Accessibility & contrast

On white

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

On black

9.57
#EC9997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9997
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9997#FFFFFF#000000##000000
##EC99971.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA596
Deuteranopia (green-blind)
#BDB596
Tritanopia (blue-blind)
#FC8F99
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec9997;
/* rgb */ color: rgb(236, 153, 151);
/* oklch */ color: oklch(76.6% 0.100 21.2);
Tailwind
colors: {
  custom: {
    50: '#f4b8b5',
    500: '#ec9997',
    950: '#000000',
  },
}
SCSS
$custom: #ec9997;
$custom-light: #f4b8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9997",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 151
  },
  "hsl": {
    "h": 1.412,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76569,
    "c": 0.10026,
    "h": 21.2
  },
  "luminance": 0.4285
}

Semantic roles & 50–950 ramp

primary
#EC9997
secondary
#D9F1F2
accent
#CDD114
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#171111
muted
#858080

Preview Lab

Preview with #EC9997

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

Preview Lab → · Contrast checker → · Palette generator →

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