#EC8A8F#EC8A8F

#EC8A8F is a light, moderate red. Relative luminance 0.380; OKLCH L 73.9% C 0.120 H 17.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#EC8A8F
RGBrgb(236, 138, 143)
HSLhsl(357, 72%, 73%)
HSVhsv(357, 42%, 93%)
CMYKcmyk(0%, 41.5%, 39.4%, 7.5%)
CIE-LABlab(68.02, 37.79, 13.64)
CIE-LCHlch(68.02, 40.17, 19.84°)
OKLaboklab(73.88% 0.1143 0.0352)
OKLCHoklch(73.88% 0.12 17.1)
XYZxyz(48.6409, 37.9972, 30.7537)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A8F #8AECE7
analogous
#EC8AC0 #EC8A8F #ECB68A
triadic
#EC8A8F #8FEC8A #8A8FEC
tetradic
#EC8A8F #C0EC8A #8AECE7 #B68AEC
square
#EC8A8F #C0EC8A #8AECE7 #B68AEC
split-complementary
#EC8A8F #8AECB6 #8AC0EC
monochromatic
#D8232C #E3555D #EC8A8F #F5BFC1 #FBE5E6

Accessibility & contrast

On white

2.44
#EC8A8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#EC8A8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A8F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A8F#FFFFFF#000000##000000
##EC8A8F1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9A8F
Deuteranopia (green-blind)
#B5AD8D
Tritanopia (blue-blind)
#FD7F8C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec8a8f;
/* rgb */ color: rgb(236, 138, 143);
/* oklch */ color: oklch(73.9% 0.120 17.1);
Tailwind
colors: {
  custom: {
    50: '#f5adaf',
    500: '#ec8a8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a8f;
$custom-light: #f5adaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a8f",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 143
  },
  "hsl": {
    "h": 356.939,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.1196,
    "h": 17.1
  },
  "luminance": 0.37993
}

Semantic roles & 50–950 ramp

primary
#EC8A8F
secondary
#D9F2F1
accent
#D4CA11
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#171010
muted
#857F7F

Preview Lab

Preview with #EC8A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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