#EC5F6D#EC5F6D

#EC5F6D is a light, vivid red. Relative luminance 0.271; OKLCH L 66.9% C 0.174 H 17.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EC5F6D
RGBrgb(236, 95, 109)
HSLhsl(354, 79%, 65%)
HSVhsv(354, 60%, 93%)
CMYKcmyk(0%, 59.7%, 53.8%, 7.5%)
CIE-LABlab(59.09, 55.49, 20.69)
CIE-LCHlch(59.09, 59.22, 20.45°)
OKLaboklab(66.88% 0.1664 0.0515)
OKLCHoklch(66.88% 0.174 17.2)
XYZxyz(41.4481, 27.1266, 17.5183)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F6D #5FECDE
analogous
#EC5FB3 #EC5F6D #EC985F
triadic
#EC5F6D #6DEC5F #5F6DEC
tetradic
#EC5F6D #B3EC5F #5FECDE #985FEC
square
#EC5F6D #B3EC5F #5FECDE #985FEC
split-complementary
#EC5F6D #5FEC98 #5FB3EC
monochromatic
#BA1626 #E6283B #EC5F6D #F2969F #F9CCD1

Accessibility & contrast

On white

3.27
#EC5F6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EC5F6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F6D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F6D#FFFFFF#000000##000000
##EC5F6D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C6D
Deuteranopia (green-blind)
#A4996A
Tritanopia (blue-blind)
#FF4765
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5f6d;
/* rgb */ color: rgb(236, 95, 109);
/* oklch */ color: oklch(66.9% 0.174 17.2);
Tailwind
colors: {
  custom: {
    50: '#f89296',
    500: '#ec5f6d',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f6d;
$custom-light: #f89296;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f6d",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 109
  },
  "hsl": {
    "h": 354.043,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66883,
    "c": 0.17422,
    "h": 17.2
  },
  "luminance": 0.27121
}

Semantic roles & 50–950 ramp

primary
#EC5F6D
secondary
#BBEBE7
accent
#DBC60A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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