#EC5F4E#EC5F4E

#EC5F4E is a light, vivid red. Relative luminance 0.266; OKLCH L 66.3% C 0.178 H 29.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#EC5F4E
RGBrgb(236, 95, 78)
HSLhsl(6, 81%, 62%)
HSVhsv(6, 67%, 93%)
CMYKcmyk(0%, 59.7%, 66.9%, 7.5%)
CIE-LABlab(58.58, 53.44, 37.67)
CIE-LCHlch(58.58, 65.38, 35.18°)
OKLaboklab(66.33% 0.1548 0.0876)
OKLCHoklch(66.33% 0.178 29.5)
XYZxyz(40.0634, 26.5727, 10.2256)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F4E #4EDBEC
analogous
#EC4E8C #EC5F4E #ECAE4E
triadic
#EC5F4E #4EEC5F #5F4EEC
tetradic
#EC5F4E #8CEC4E #4EDBEC #AE4EEC
square
#EC5F4E #8CEC4E #4EDBEC #AE4EEC
split-complementary
#EC5F4E #4EECAE #4E8CEC
monochromatic
#AD2313 #E42E19 #EC5F4E #F29185 #F8C3BD

Accessibility & contrast

On white

3.33
#EC5F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#EC5F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F4E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F4E#FFFFFF#000000##000000
##EC5F4E1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4C
Deuteranopia (green-blind)
#A8984A
Tritanopia (blue-blind)
#FF405C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5f4e;
/* rgb */ color: rgb(236, 95, 78);
/* oklch */ color: oklch(66.3% 0.178 29.5);
Tailwind
colors: {
  custom: {
    50: '#fa9180',
    500: '#ec5f4e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f4e;
$custom-light: #fa9180;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f4e",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 6.456,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.17784,
    "h": 29.5
  },
  "luminance": 0.26567
}

Semantic roles & 50–950 ramp

primary
#EC5F4E
secondary
#AEE2E8
accent
#C6DD09
background
#FFF9F7
surface
#FFF2EE
border
#D7CCC9
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EC5F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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