#EC8EA2#EC8EA2

#EC8EA2 is a light, moderate red. Relative luminance 0.398; OKLCH L 75.0% C 0.116 H 6.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#EC8EA2
RGBrgb(236, 142, 162)
HSLhsl(347, 71%, 74%)
HSVhsv(347, 40%, 93%)
CMYKcmyk(0%, 39.8%, 31.4%, 7.5%)
CIE-LABlab(69.32, 37.98, 4.85)
CIE-LCHlch(69.32, 38.28, 7.28°)
OKLaboklab(75.02% 0.1151 0.0131)
OKLCHoklch(75.02% 0.116 6.5)
XYZxyz(50.7885, 39.7914, 39.1810)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EA2 #8EECD8
analogous
#EC8ED1 #EC8EA2 #ECA98E
triadic
#EC8EA2 #A2EC8E #8EA2EC
tetradic
#EC8EA2 #D1EC8E #8EECD8 #A98EEC
square
#EC8EA2 #D1EC8E #8EECD8 #A98EEC
split-complementary
#EC8EA2 #8EECA9 #8ED1EC
monochromatic
#DA254C #E35A77 #EC8EA2 #F5C2CD #FBE5E9

Accessibility & contrast

On white

2.34
#EC8EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EC8EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EA2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EA2#FFFFFF#000000##000000
##EC8EA21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9FA3
Deuteranopia (green-blind)
#B4B0A0
Tritanopia (blue-blind)
#FB8695
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8ea2;
/* rgb */ color: rgb(236, 142, 162);
/* oklch */ color: oklch(75.0% 0.116 6.5);
Tailwind
colors: {
  custom: {
    50: '#f4b0bd',
    500: '#ec8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ea2;
$custom-light: #f4b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ea2",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 347.234,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75021,
    "c": 0.11585,
    "h": 6.5
  },
  "luminance": 0.39788
}

Semantic roles & 50–950 ramp

primary
#EC8EA2
secondary
#D9F2ED
accent
#D3AA12
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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