#EC7E8D#EC7E8D

#EC7E8D is a light, vivid red. Relative luminance 0.347; OKLCH L 71.9% C 0.136 H 12.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#EC7E8D
RGBrgb(236, 126, 141)
HSLhsl(352, 74%, 71%)
HSVhsv(352, 47%, 93%)
CMYKcmyk(0%, 46.6%, 40.3%, 7.5%)
CIE-LABlab(65.50, 43.71, 11.22)
CIE-LCHlch(65.50, 45.13, 14.40°)
OKLaboklab(71.95% 0.1324 0.0292)
OKLCHoklch(71.95% 0.136 12.4)
XYZxyz(46.8632, 34.6821, 29.4204)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7E8D #7EECDD
analogous
#EC7EC4 #EC7E8D #ECA67E
triadic
#EC7E8D #8DEC7E #7E8DEC
tetradic
#EC7E8D #C4EC7E #7EECDD #A67EEC
square
#EC7E8D #C4EC7E #7EECDD #A67EEC
split-complementary
#EC7E8D #7EECA6 #7EC4EC
monochromatic
#D11F37 #E4495E #EC7E8D #F4B3BC #FBE4E7

Accessibility & contrast

On white

2.65
#EC7E8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#EC7E8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7E8D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7E8D#FFFFFF#000000##000000
##EC7E8D1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93928D
Deuteranopia (green-blind)
#AFA78B
Tritanopia (blue-blind)
#FE7284
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7e8d;
/* rgb */ color: rgb(236, 126, 141);
/* oklch */ color: oklch(71.9% 0.136 12.4);
Tailwind
colors: {
  custom: {
    50: '#f5a6ae',
    500: '#ec7e8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec7e8d;
$custom-light: #f5a6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7e8d",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 351.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71948,
    "c": 0.13558,
    "h": 12.4
  },
  "luminance": 0.34678
}

Semantic roles & 50–950 ramp

primary
#EC7E8D
secondary
#D4F2EE
accent
#D6BB0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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