#EC877C#EC877C

#EC877C is a light, vivid red. Relative luminance 0.366; OKLCH L 73.0% C 0.126 H 27.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#EC877C
RGBrgb(236, 135, 124)
HSLhsl(6, 75%, 71%)
HSVhsv(6, 47%, 93%)
CMYKcmyk(0%, 42.8%, 47.5%, 7.5%)
CIE-LABlab(66.99, 37.38, 22.84)
CIE-LCHlch(66.99, 43.80, 31.43°)
OKLaboklab(72.97% 0.1117 0.0572)
OKLCHoklch(72.97% 0.126 27.1)
XYZxyz(46.8970, 36.6205, 23.6635)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC877C #7CE1EC
analogous
#EC7CA9 #EC877C #ECBF7C
triadic
#EC877C #7CEC87 #877CEC
tetradic
#EC877C #A9EC7C #7CE1EC #BF7CEC
square
#EC877C #A9EC7C #7CE1EC #BF7CEC
split-complementary
#EC877C #7CECBF #7CA9EC
monochromatic
#D0301E #E45647 #EC877C #F4B8B1 #FBE7E4

Accessibility & contrast

On white

2.52
#EC877C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#EC877C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC877C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC877C#FFFFFF#000000##000000
##EC877C1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967B
Deuteranopia (green-blind)
#B7AB7A
Tritanopia (blue-blind)
#FF7885
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec877c;
/* rgb */ color: rgb(236, 135, 124);
/* oklch */ color: oklch(73.0% 0.126 27.1);
Tailwind
colors: {
  custom: {
    50: '#f6aba2',
    500: '#ec877c',
    950: '#000000',
  },
}
SCSS
$custom: #ec877c;
$custom-light: #f6aba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec877c",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 5.893,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.1255,
    "h": 27.1
  },
  "luminance": 0.36616
}

Semantic roles & 50–950 ramp

primary
#EC877C
secondary
#D3EEF1
accent
#C3D70F
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E

Preview Lab

Preview with #EC877C

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

Preview Lab → · Contrast checker → · Palette generator →

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