#EC8CA2#EC8CA2

#EC8CA2 is a light, moderate red. Relative luminance 0.392; OKLCH L 74.7% C 0.119 H 5.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EC8CA2
RGBrgb(236, 140, 162)
HSLhsl(346, 72%, 74%)
HSVhsv(346, 41%, 93%)
CMYKcmyk(0%, 40.7%, 31.4%, 7.5%)
CIE-LABlab(68.90, 39.02, 4.24)
CIE-LCHlch(68.90, 39.25, 6.20°)
OKLaboklab(74.7% 0.1183 0.0116)
OKLCHoklch(74.7% 0.119 5.6)
XYZxyz(50.4936, 39.2016, 39.0827)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CA2 #8CECD6
analogous
#EC8CD2 #EC8CA2 #ECA68C
triadic
#EC8CA2 #A2EC8C #8CA2EC
tetradic
#EC8CA2 #D2EC8C #8CECD6 #A68CEC
square
#EC8CA2 #D2EC8C #8CECD6 #A68CEC
split-complementary
#EC8CA2 #8CECA6 #8CD2EC
monochromatic
#DA244E #E35778 #EC8CA2 #F5C1CC #FBE5EA

Accessibility & contrast

On white

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

On black

8.84
#EC8CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CA2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CA2#FFFFFF#000000##000000
##EC8CA21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9DA3
Deuteranopia (green-blind)
#B3AFA0
Tritanopia (blue-blind)
#FB8494
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ca2;
/* rgb */ color: rgb(236, 140, 162);
/* oklch */ color: oklch(74.7% 0.119 5.6);
Tailwind
colors: {
  custom: {
    50: '#f4afbd',
    500: '#ec8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ca2;
$custom-light: #f4afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ca2",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 346.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74698,
    "c": 0.11882,
    "h": 5.6
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

primary
#EC8CA2
secondary
#D9F2EC
accent
#D4A712
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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