#EC8DA2#EC8DA2

#EC8DA2 is a light, moderate red. Relative luminance 0.395; OKLCH L 74.9% C 0.117 H 6.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#EC8DA2
RGBrgb(236, 141, 162)
HSLhsl(347, 71%, 74%)
HSVhsv(347, 40%, 93%)
CMYKcmyk(0%, 40.3%, 31.4%, 7.5%)
CIE-LABlab(69.11, 38.50, 4.54)
CIE-LCHlch(69.11, 38.76, 6.73°)
OKLaboklab(74.86% 0.1167 0.0123)
OKLCHoklch(74.86% 0.117 6)
XYZxyz(50.6404, 39.4952, 39.1316)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DA2 #8DECD7
analogous
#EC8DD2 #EC8DA2 #ECA88D
triadic
#EC8DA2 #A2EC8D #8DA2EC
tetradic
#EC8DA2 #D2EC8D #8DECD7 #A88DEC
square
#EC8DA2 #D2EC8D #8DECD7 #A88DEC
split-complementary
#EC8DA2 #8DECA8 #8DD2EC
monochromatic
#DA244D #E35977 #EC8DA2 #F5C1CD #FBE5EA

Accessibility & contrast

On white

2.36
#EC8DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#EC8DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DA2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DA2#FFFFFF#000000##000000
##EC8DA21.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9EA3
Deuteranopia (green-blind)
#B4AFA0
Tritanopia (blue-blind)
#FB8594
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8da2;
/* rgb */ color: rgb(236, 141, 162);
/* oklch */ color: oklch(74.9% 0.117 6.0);
Tailwind
colors: {
  custom: {
    50: '#f4b0bd',
    500: '#ec8da2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8da2;
$custom-light: #f4b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8da2",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 162
  },
  "hsl": {
    "h": 346.737,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74859,
    "c": 0.11733,
    "h": 6
  },
  "luminance": 0.39491
}

Semantic roles & 50–950 ramp

primary
#EC8DA2
secondary
#D9F2ED
accent
#D3A912
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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