#EC818D#EC818D

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

Color values

HEX#EC818D
RGBrgb(236, 129, 141)
HSLhsl(353, 74%, 72%)
HSVhsv(353, 45%, 93%)
CMYKcmyk(0%, 45.3%, 40.3%, 7.5%)
CIE-LABlab(66.11, 42.19, 12.07)
CIE-LCHlch(66.11, 43.88, 15.97°)
OKLaboklab(72.41% 0.1277 0.0313)
OKLCHoklch(72.41% 0.132 13.8)
XYZxyz(47.2526, 35.4609, 29.5502)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC818D #81ECE0
analogous
#EC81C3 #EC818D #ECAB81
triadic
#EC818D #8DEC81 #818DEC
tetradic
#EC818D #C3EC81 #81ECE0 #AB81EC
square
#EC818D #C3EC81 #81ECE0 #AB81EC
split-complementary
#EC818D #81ECAB #81C3EC
monochromatic
#D32034 #E44C5D #EC818D #F4B6BD #FBE4E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC818D#FFFFFF#000000##000000
##EC818D1.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)
#96948D
Deuteranopia (green-blind)
#B0A98B
Tritanopia (blue-blind)
#FE7586
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec818d;
/* rgb */ color: rgb(236, 129, 141);
/* oklch */ color: oklch(72.4% 0.132 13.8);
Tailwind
colors: {
  custom: {
    50: '#f5a7ae',
    500: '#ec818d',
    950: '#000000',
  },
}
SCSS
$custom: #ec818d;
$custom-light: #f5a7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec818d",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 141
  },
  "hsl": {
    "h": 353.271,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72407,
    "c": 0.13151,
    "h": 13.8
  },
  "luminance": 0.35456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC818D

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

Preview Lab → · Contrast checker → · Palette generator →

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