#EC9C8F#EC9C8F

#EC9C8F is a light, moderate red. Relative luminance 0.436; OKLCH L 76.9% C 0.098 H 29.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#EC9C8F
RGBrgb(236, 156, 143)
HSLhsl(8, 71%, 74%)
HSVhsv(8, 39%, 93%)
CMYKcmyk(0%, 33.9%, 39.4%, 7.5%)
CIE-LABlab(71.96, 28.34, 19.12)
CIE-LCHlch(71.96, 34.18, 34.00°)
OKLaboklab(76.9% 0.0856 0.0487)
OKLCHoklch(76.9% 0.098 29.6)
XYZxyz(51.4407, 43.5968, 31.6870)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9C8F #8FDFEC
analogous
#EC8FB1 #EC9C8F #ECCB8F
triadic
#EC9C8F #8FEC9C #9C8FEC
tetradic
#EC9C8F #B1EC8F #8FDFEC #CB8FEC
square
#EC9C8F #B1EC8F #8FDFEC #CB8FEC
split-complementary
#EC9C8F #8FECCB #8FB1EC
monochromatic
#DA4026 #E36E5B #EC9C8F #F5CAC3 #FBE8E5

Accessibility & contrast

On white

2.16
#EC9C8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#EC9C8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9C8F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9C8F#FFFFFF#000000##000000
##EC9C8F1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA78E
Deuteranopia (green-blind)
#C1B78E
Tritanopia (blue-blind)
#FD9199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec9c8f;
/* rgb */ color: rgb(236, 156, 143);
/* oklch */ color: oklch(76.9% 0.098 29.6);
Tailwind
colors: {
  custom: {
    50: '#f4baaf',
    500: '#ec9c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec9c8f;
$custom-light: #f4baaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9c8f",
  "rgb": {
    "r": 236,
    "g": 156,
    "b": 143
  },
  "hsl": {
    "h": 8.387,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.769,
    "c": 0.09846,
    "h": 29.6
  },
  "luminance": 0.43593
}

Semantic roles & 50–950 ramp

primary
#EC9C8F
secondary
#D9EFF2
accent
#B8D312
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC9C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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