#EC8792#EC8792

#EC8792 is a light, vivid red. Relative luminance 0.372; OKLCH L 73.5% C 0.124 H 13.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#EC8792
RGBrgb(236, 135, 146)
HSLhsl(353, 73%, 73%)
HSVhsv(353, 43%, 93%)
CMYKcmyk(0%, 42.8%, 38.1%, 7.5%)
CIE-LABlab(67.46, 39.68, 11.16)
CIE-LCHlch(67.46, 41.22, 15.71°)
OKLaboklab(73.47% 0.1202 0.0291)
OKLCHoklch(73.47% 0.124 13.6)
XYZxyz(48.4467, 37.2404, 31.8251)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8792 #87ECE1
analogous
#EC87C5 #EC8792 #ECAE87
triadic
#EC8792 #92EC87 #8792EC
tetradic
#EC8792 #C5EC87 #87ECE1 #AE87EC
square
#EC8792 #C5EC87 #87ECE1 #AE87EC
split-complementary
#EC8792 #87ECAE #87C5EC
monochromatic
#D72236 #E45262 #EC8792 #F4BCC2 #FBE5E7

Accessibility & contrast

On white

2.49
#EC8792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#EC8792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8792
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8792#FFFFFF#000000##000000
##EC87921.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9892
Deuteranopia (green-blind)
#B3AC90
Tritanopia (blue-blind)
#FD7C8B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec8792;
/* rgb */ color: rgb(236, 135, 146);
/* oklch */ color: oklch(73.5% 0.124 13.6);
Tailwind
colors: {
  custom: {
    50: '#f5abb1',
    500: '#ec8792',
    950: '#000000',
  },
}
SCSS
$custom: #ec8792;
$custom-light: #f5abb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8792",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 146
  },
  "hsl": {
    "h": 353.465,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.12366,
    "h": 13.6
  },
  "luminance": 0.37236
}

Semantic roles & 50–950 ramp

primary
#EC8792
secondary
#D9F2F0
accent
#D5BF11
background
#FFFAFA
surface
#FFF4F5
border
#D7CECF
text
#171010
muted
#857F7F

Preview Lab

Preview with #EC8792

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

Preview Lab → · Contrast checker → · Palette generator →

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