#EC877D#EC877D

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

Color values

HEX#EC877D
RGBrgb(236, 135, 125)
HSLhsl(5, 74%, 71%)
HSVhsv(5, 47%, 93%)
CMYKcmyk(0%, 42.8%, 47%, 7.5%)
CIE-LABlab(67.01, 37.47, 22.31)
CIE-LCHlch(67.01, 43.61, 30.77°)
OKLaboklab(72.99% 0.1121 0.056)
OKLCHoklch(72.99% 0.125 26.5)
XYZxyz(46.9606, 36.6459, 23.9982)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC877D #7DE2EC
analogous
#EC7DAA #EC877D #ECBE7D
triadic
#EC877D #7DEC87 #877DEC
tetradic
#EC877D #AAEC7D #7DE2EC #BE7DEC
square
#EC877D #AAEC7D #7DE2EC #BE7DEC
split-complementary
#EC877D #7DECBE #7DAAEC
monochromatic
#D02E1E #E45648 #EC877D #F4B8B2 #FBE6E4

Accessibility & contrast

On white

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

On black

8.33
#EC877D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC877D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC877D#FFFFFF#000000##000000
##EC877D1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967C
Deuteranopia (green-blind)
#B6AB7B
Tritanopia (blue-blind)
#FF7985
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec877d;
/* rgb */ color: rgb(236, 135, 125);
/* oklch */ color: oklch(73.0% 0.125 26.5);
Tailwind
colors: {
  custom: {
    50: '#f6aba2',
    500: '#ec877d',
    950: '#000000',
  },
}
SCSS
$custom: #ec877d;
$custom-light: #f6aba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec877d",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 5.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.12529,
    "h": 26.5
  },
  "luminance": 0.36641
}

Semantic roles & 50–950 ramp

primary
#EC877D
secondary
#D3EFF1
accent
#C5D70F
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#18100F
muted
#867F7F

Preview Lab

Preview with #EC877D

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

Preview Lab → · Contrast checker → · Palette generator →

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