#EC8A8B#EC8A8B

#EC8A8B is a light, moderate red. Relative luminance 0.379; OKLCH L 73.8% C 0.120 H 19.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#EC8A8B
RGBrgb(236, 138, 139)
HSLhsl(359, 72%, 73%)
HSVhsv(359, 42%, 93%)
CMYKcmyk(0%, 41.5%, 41.1%, 7.5%)
CIE-LABlab(67.93, 37.35, 15.75)
CIE-LCHlch(67.93, 40.54, 22.87°)
OKLaboklab(73.78% 0.1128 0.0404)
OKLCHoklch(73.78% 0.12 19.7)
XYZxyz(48.3433, 37.8782, 29.1862)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A8B #8AECEB
analogous
#EC8ABC #EC8A8B #ECBA8A
triadic
#EC8A8B #8BEC8A #8A8BEC
tetradic
#EC8A8B #BCEC8A #8AECEB #BA8AEC
square
#EC8A8B #BCEC8A #8AECEB #BA8AEC
split-complementary
#EC8A8B #8AECBA #8ABCEC
monochromatic
#D82325 #E35557 #EC8A8B #F5BFBF #FBE5E5

Accessibility & contrast

On white

2.45
#EC8A8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#EC8A8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A8B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A8B#FFFFFF#000000##000000
##EC8A8B1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9A8A
Deuteranopia (green-blind)
#B6AD89
Tritanopia (blue-blind)
#FE7E8B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec8a8b;
/* rgb */ color: rgb(236, 138, 139);
/* oklch */ color: oklch(73.8% 0.120 19.7);
Tailwind
colors: {
  custom: {
    50: '#f5adac',
    500: '#ec8a8b',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a8b;
$custom-light: #f5adac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a8b",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 139
  },
  "hsl": {
    "h": 359.388,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73783,
    "c": 0.11979,
    "h": 19.7
  },
  "luminance": 0.37874
}

Semantic roles & 50–950 ramp

primary
#EC8A8B
secondary
#D9F2F2
accent
#D4D211
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#171010
muted
#857F7F

Preview Lab

Preview with #EC8A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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