#EC5F5F#EC5F5F

#EC5F5F is a light, vivid red. Relative luminance 0.268; OKLCH L 66.6% C 0.175 H 23.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#EC5F5F
RGBrgb(236, 95, 95)
HSLhsl(0, 79%, 65%)
HSVhsv(0, 60%, 93%)
CMYKcmyk(0%, 59.7%, 59.7%, 7.5%)
CIE-LABlab(58.83, 54.47, 28.42)
CIE-LCHlch(58.83, 61.44, 27.55°)
OKLaboklab(66.61% 0.1611 0.0687)
OKLCHoklch(66.61% 0.175 23.1)
XYZxyz(40.7536, 26.8488, 13.8605)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F5F #5FECEC
analogous
#EC5FA6 #EC5F5F #ECA65F
triadic
#EC5F5F #5FEC5F #5F5FEC
tetradic
#EC5F5F #A6EC5F #5FECEC #A65FEC
square
#EC5F5F #A6EC5F #5FECEC #A65FEC
split-complementary
#EC5F5F #5FECA6 #5FA6EC
monochromatic
#BA1616 #E62828 #EC5F5F #F29696 #F9CCCC

Accessibility & contrast

On white

3.30
#EC5F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#EC5F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F5F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F5F#FFFFFF#000000##000000
##EC5F5F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B5E
Deuteranopia (green-blind)
#A6995C
Tritanopia (blue-blind)
#FF4460
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5f5f;
/* rgb */ color: rgb(236, 95, 95);
/* oklch */ color: oklch(66.6% 0.175 23.1);
Tailwind
colors: {
  custom: {
    50: '#f9928c',
    500: '#ec5f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f5f;
$custom-light: #f9928c;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f5f",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 95
  },
  "hsl": {
    "h": 0,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.17511,
    "h": 23.1
  },
  "luminance": 0.26844
}

Semantic roles & 50–950 ramp

primary
#EC5F5F
secondary
#BBEBEB
accent
#DBDB0A
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#190D0C
muted
#877E7D

Preview Lab

Preview with #EC5F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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