#EC8EA1#EC8EA1

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

Color values

HEX#EC8EA1
RGBrgb(236, 142, 161)
HSLhsl(348, 71%, 74%)
HSVhsv(348, 40%, 93%)
CMYKcmyk(0%, 39.8%, 31.8%, 7.5%)
CIE-LABlab(69.30, 37.85, 5.37)
CIE-LCHlch(69.30, 38.23, 8.08°)
OKLaboklab(74.99% 0.1147 0.0145)
OKLCHoklch(74.99% 0.116 7.2)
XYZxyz(50.7000, 39.7560, 38.7147)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EA1 #8EECD9
analogous
#EC8ED0 #EC8EA1 #ECAA8E
triadic
#EC8EA1 #A1EC8E #8EA1EC
tetradic
#EC8EA1 #D0EC8E #8EECD9 #AA8EEC
square
#EC8EA1 #D0EC8E #8EECD9 #AA8EEC
split-complementary
#EC8EA1 #8EECAA #8ED0EC
monochromatic
#DA254A #E35A75 #EC8EA1 #F5C2CD #FBE5E9

Accessibility & contrast

On white

2.35
#EC8EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EC8EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EA1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EA1#FFFFFF#000000##000000
##EC8EA11.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8ea1;
/* rgb */ color: rgb(236, 142, 161);
/* oklch */ color: oklch(75.0% 0.116 7.2);
Tailwind
colors: {
  custom: {
    50: '#f4b0bc',
    500: '#ec8ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ea1;
$custom-light: #f4b0bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ea1",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 347.872,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74993,
    "c": 0.11565,
    "h": 7.2
  },
  "luminance": 0.39752
}

Semantic roles & 50–950 ramp

primary
#EC8EA1
secondary
#D9F2ED
accent
#D3AC12
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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