#EC8D97#EC8D97

#EC8D97 is a light, moderate red. Relative luminance 0.391; OKLCH L 74.6% C 0.116 H 13.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EC8D97
RGBrgb(236, 141, 151)
HSLhsl(354, 71%, 74%)
HSVhsv(354, 40%, 93%)
CMYKcmyk(0%, 40.3%, 36%, 7.5%)
CIE-LABlab(68.84, 37.15, 10.31)
CIE-LCHlch(68.84, 38.55, 15.52°)
OKLaboklab(74.57% 0.1126 0.027)
OKLCHoklch(74.57% 0.116 13.5)
XYZxyz(49.7050, 39.1211, 34.2054)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8D97 #8DECE2
analogous
#EC8DC7 #EC8D97 #ECB38D
triadic
#EC8D97 #97EC8D #8D97EC
tetradic
#EC8D97 #C7EC8D #8DECE2 #B38DEC
square
#EC8D97 #C7EC8D #8DECE2 #B38DEC
split-complementary
#EC8D97 #8DECB3 #8DC7EC
monochromatic
#DA2438 #E35967 #EC8D97 #F5C1C7 #FBE5E7

Accessibility & contrast

On white

2.38
#EC8D97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EC8D97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8D97
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8D97#FFFFFF#000000##000000
##EC8D971.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D97
Deuteranopia (green-blind)
#B6AF95
Tritanopia (blue-blind)
#FC8391
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8d97;
/* rgb */ color: rgb(236, 141, 151);
/* oklch */ color: oklch(74.6% 0.116 13.5);
Tailwind
colors: {
  custom: {
    50: '#f5afb5',
    500: '#ec8d97',
    950: '#000000',
  },
}
SCSS
$custom: #ec8d97;
$custom-light: #f5afb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8d97",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 151
  },
  "hsl": {
    "h": 353.684,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74565,
    "c": 0.11579,
    "h": 13.5
  },
  "luminance": 0.39117
}

Semantic roles & 50–950 ramp

primary
#EC8D97
secondary
#D9F2F0
accent
#D3BF12
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC8D97

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

Preview Lab → · Contrast checker → · Palette generator →

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