#EC5A6D#EC5A6D

#EC5A6D is a light, vivid red. Relative luminance 0.262; OKLCH L 66.3% C 0.180 H 15.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#EC5A6D
RGBrgb(236, 90, 109)
HSLhsl(352, 79%, 64%)
HSVhsv(352, 62%, 93%)
CMYKcmyk(0%, 61.9%, 53.8%, 7.5%)
CIE-LABlab(58.28, 57.66, 19.59)
CIE-LCHlch(58.28, 60.90, 18.76°)
OKLaboklab(66.27% 0.1733 0.0489)
OKLCHoklch(66.27% 0.18 15.8)
XYZxyz(41.0121, 26.2546, 17.3730)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A6D #5AECD9
analogous
#EC5AB6 #EC5A6D #EC905A
triadic
#EC5A6D #6DEC5A #5A6DEC
tetradic
#EC5A6D #B6EC5A #5AECD9 #905AEC
square
#EC5A6D #B6EC5A #5AECD9 #905AEC
split-complementary
#EC5A6D #5AEC90 #5AB6EC
monochromatic
#B7152A #E6233C #EC5A6D #F2919E #F9C8CE

Accessibility & contrast

On white

3.36
#EC5A6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#EC5A6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A6D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A6D#FFFFFF#000000##000000
##EC5A6D1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D796D
Deuteranopia (green-blind)
#A29769
Tritanopia (blue-blind)
#FF4062
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a6d;
/* rgb */ color: rgb(236, 90, 109);
/* oklch */ color: oklch(66.3% 0.180 15.8);
Tailwind
colors: {
  custom: {
    50: '#f88f96',
    500: '#ec5a6d',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a6d;
$custom-light: #f88f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a6d",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 109
  },
  "hsl": {
    "h": 352.192,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66273,
    "c": 0.18007,
    "h": 15.8
  },
  "luminance": 0.26249
}

Semantic roles & 50–950 ramp

primary
#EC5A6D
secondary
#B7EBE4
accent
#DCC00A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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