#EC7872#EC7872

#EC7872 is a light, vivid red. Relative luminance 0.325; OKLCH L 70.4% C 0.144 H 24.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#EC7872
RGBrgb(236, 120, 114)
HSLhsl(3, 76%, 69%)
HSVhsv(3, 52%, 93%)
CMYKcmyk(0%, 49.2%, 51.7%, 7.5%)
CIE-LABlab(63.74, 44.09, 24.08)
CIE-LCHlch(63.74, 50.24, 28.64°)
OKLaboklab(70.43% 0.1314 0.0598)
OKLCHoklch(70.43% 0.144 24.5)
XYZxyz(44.3490, 32.4855, 19.8511)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7872 #72E6EC
analogous
#EC72A9 #EC7872 #ECB572
triadic
#EC7872 #72EC78 #7872EC
tetradic
#EC7872 #A9EC72 #72E6EC #B572EC
square
#EC7872 #A9EC72 #72E6EC #B572EC
split-complementary
#EC7872 #72ECB5 #72A9EC
monochromatic
#C9241B #E5443C #EC7872 #F3ACA8 #FBDFDE

Accessibility & contrast

On white

2.80
#EC7872 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#EC7872 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7872
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7872#FFFFFF#000000##000000
##EC78721.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938C71
Deuteranopia (green-blind)
#AFA470
Tritanopia (blue-blind)
#FF6677
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7872;
/* rgb */ color: rgb(236, 120, 114);
/* oklch */ color: oklch(70.4% 0.144 24.5);
Tailwind
colors: {
  custom: {
    50: '#f7a19a',
    500: '#ec7872',
    950: '#000000',
  },
}
SCSS
$custom: #ec7872;
$custom-light: #f7a19a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7872",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 2.951,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.14431,
    "h": 24.5
  },
  "luminance": 0.32481
}

Semantic roles & 50–950 ramp

primary
#EC7872
secondary
#CBEDEF
accent
#CED80D
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC7872

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

Preview Lab → · Contrast checker → · Palette generator →

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