#EC9DA2#EC9DA2

#EC9DA2 is a light, moderate red. Relative luminance 0.446; OKLCH L 77.5% C 0.095 H 15.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#EC9DA2
RGBrgb(236, 157, 162)
HSLhsl(356, 68%, 77%)
HSVhsv(356, 33%, 93%)
CMYKcmyk(0%, 33.5%, 31.4%, 7.5%)
CIE-LABlab(72.60, 30.09, 9.55)
CIE-LCHlch(72.60, 31.57, 17.61°)
OKLaboklab(77.53% 0.0914 0.0251)
OKLCHoklch(77.53% 0.095 15.3)
XYZxyz(53.1723, 44.5590, 39.9756)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DA2 #9DECE7
analogous
#EC9DC9 #EC9DA2 #ECC09D
triadic
#EC9DA2 #A2EC9D #9DA2EC
tetradic
#EC9DA2 #C9EC9D #9DECE7 #C09DEC
square
#EC9DA2 #C9EC9D #9DECE7 #C09DEC
split-complementary
#EC9DA2 #9DECC0 #9DC9EC
monochromatic
#D83641 #E26A71 #EC9DA2 #F6D0D3 #FAE5E7

Accessibility & contrast

On white

2.12
#EC9DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#EC9DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DA2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DA2#FFFFFF#000000##000000
##EC9DA21.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA9A2
Deuteranopia (green-blind)
#BEB8A1
Tritanopia (blue-blind)
#FB959F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec9da2;
/* rgb */ color: rgb(236, 157, 162);
/* oklch */ color: oklch(77.5% 0.095 15.3);
Tailwind
colors: {
  custom: {
    50: '#f4babd',
    500: '#ec9da2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9da2;
$custom-light: #f4babd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9da2",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 162
  },
  "hsl": {
    "h": 356.203,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77531,
    "c": 0.09474,
    "h": 15.3
  },
  "luminance": 0.44555
}

Semantic roles & 50–950 ramp

primary
#EC9DA2
secondary
#D9F2F0
accent
#CFC416
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#171212
muted
#858181

Preview Lab

Preview with #EC9DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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