#EC817C#EC817C

#EC817C is a light, vivid red. Relative luminance 0.350; OKLCH L 72.0% C 0.132 H 23.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC817C
RGBrgb(236, 129, 124)
HSLhsl(3, 75%, 71%)
HSVhsv(3, 47%, 93%)
CMYKcmyk(0%, 45.3%, 47.5%, 7.5%)
CIE-LABlab(65.74, 40.46, 21.15)
CIE-LCHlch(65.74, 45.65, 27.60°)
OKLaboklab(72.01% 0.1212 0.0532)
OKLCHoklch(72.01% 0.132 23.7)
XYZxyz(46.0834, 34.9932, 23.3923)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC817C #7CE7EC
analogous
#EC7CAF #EC817C #ECB97C
triadic
#EC817C #7CEC81 #817CEC
tetradic
#EC817C #AFEC7C #7CE7EC #B97CEC
square
#EC817C #AFEC7C #7CE7EC #B97CEC
split-complementary
#EC817C #7CECB9 #7CAFEC
monochromatic
#D0261E #E44E47 #EC817C #F4B4B1 #FBE5E4

Accessibility & contrast

On white

2.63
#EC817C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#EC817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC817C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC817C#FFFFFF#000000##000000
##EC817C1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99927B
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#FF7280
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec817c;
/* rgb */ color: rgb(236, 129, 124);
/* oklch */ color: oklch(72.0% 0.132 23.7);
Tailwind
colors: {
  custom: {
    50: '#f6a7a2',
    500: '#ec817c',
    950: '#000000',
  },
}
SCSS
$custom: #ec817c;
$custom-light: #f6a7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec817c",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 2.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72013,
    "c": 0.13234,
    "h": 23.7
  },
  "luminance": 0.34989
}

Semantic roles & 50–950 ramp

primary
#EC817C
secondary
#D3F0F1
accent
#CED70F
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E

Preview Lab

Preview with #EC817C

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

Preview Lab → · Contrast checker → · Palette generator →

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