#EC8F87#EC8F87

#EC8F87 is a light, moderate red. Relative luminance 0.392; OKLCH L 74.5% C 0.114 H 25.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EC8F87
RGBrgb(236, 143, 135)
HSLhsl(5, 73%, 73%)
HSVhsv(5, 43%, 93%)
CMYKcmyk(0%, 39.4%, 42.8%, 7.5%)
CIE-LABlab(68.92, 34.32, 19.35)
CIE-LCHlch(68.92, 39.40, 29.42°)
OKLaboklab(74.51% 0.1033 0.0491)
OKLCHoklch(74.51% 0.114 25.4)
XYZxyz(48.7903, 39.2313, 27.9197)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8F87 #87E4EC
analogous
#EC87B2 #EC8F87 #ECC187
triadic
#EC8F87 #87EC8F #8F87EC
tetradic
#EC8F87 #B2EC87 #87E4EC #C187EC
square
#EC8F87 #B2EC87 #87E4EC #C187EC
split-complementary
#EC8F87 #87ECC1 #87B2EC
monochromatic
#D73022 #E45E52 #EC8F87 #F4C0BC #FBE6E5

Accessibility & contrast

On white

2.37
#EC8F87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#EC8F87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8F87
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8F87#FFFFFF#000000##000000
##EC8F871.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39D86
Deuteranopia (green-blind)
#BAAF86
Tritanopia (blue-blind)
#FE838D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8f87;
/* rgb */ color: rgb(236, 143, 135);
/* oklch */ color: oklch(74.5% 0.114 25.4);
Tailwind
colors: {
  custom: {
    50: '#f5b1aa',
    500: '#ec8f87',
    950: '#000000',
  },
}
SCSS
$custom: #ec8f87;
$custom-light: #f5b1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8f87",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 135
  },
  "hsl": {
    "h": 4.752,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.11433,
    "h": 25.4
  },
  "luminance": 0.39227
}

Semantic roles & 50–950 ramp

primary
#EC8F87
secondary
#D9F0F2
accent
#C5D511
background
#FFFAFA
surface
#FFF5F4
border
#D7CFCE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC8F87

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

Preview Lab → · Contrast checker → · Palette generator →

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