#EC818C#EC818C

#EC818C is a light, vivid red. Relative luminance 0.354; OKLCH L 72.4% C 0.131 H 14.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#EC818C
RGBrgb(236, 129, 140)
HSLhsl(354, 74%, 72%)
HSVhsv(354, 45%, 93%)
CMYKcmyk(0%, 45.3%, 40.7%, 7.5%)
CIE-LABlab(66.08, 42.08, 12.61)
CIE-LCHlch(66.08, 43.93, 16.68°)
OKLaboklab(72.38% 0.1273 0.0326)
OKLCHoklch(72.38% 0.131 14.4)
XYZxyz(47.1785, 35.4312, 29.1601)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC818C #81ECE1
analogous
#EC81C2 #EC818C #ECAC81
triadic
#EC818C #8CEC81 #818CEC
tetradic
#EC818C #C2EC81 #81ECE1 #AC81EC
square
#EC818C #C2EC81 #81ECE1 #AC81EC
split-complementary
#EC818C #81ECAC #81C2EC
monochromatic
#D32032 #E44C5B #EC818C #F4B6BD #FBE4E7

Accessibility & contrast

On white

2.60
#EC818C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#EC818C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC818C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC818C#FFFFFF#000000##000000
##EC818C1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96948C
Deuteranopia (green-blind)
#B1A98A
Tritanopia (blue-blind)
#FE7585
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec818c;
/* rgb */ color: rgb(236, 129, 140);
/* oklch */ color: oklch(72.4% 0.131 14.4);
Tailwind
colors: {
  custom: {
    50: '#f5a7ad',
    500: '#ec818c',
    950: '#000000',
  },
}
SCSS
$custom: #ec818c;
$custom-light: #f5a7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec818c",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 140
  },
  "hsl": {
    "h": 353.832,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72382,
    "c": 0.13146,
    "h": 14.4
  },
  "luminance": 0.35427
}

Semantic roles & 50–950 ramp

primary
#EC818C
secondary
#D7F2EF
accent
#D6C210
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#181010
muted
#867F7F

Preview Lab

Preview with #EC818C

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

Preview Lab → · Contrast checker → · Palette generator →

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