#EC5A6E#EC5A6E

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

Color values

HEX#EC5A6E
RGBrgb(236, 90, 110)
HSLhsl(352, 79%, 64%)
HSVhsv(352, 62%, 93%)
CMYKcmyk(0%, 61.9%, 53.4%, 7.5%)
CIE-LABlab(58.30, 57.74, 19.03)
CIE-LCHlch(58.30, 60.80, 18.24°)
OKLaboklab(66.3% 0.1737 0.0477)
OKLCHoklch(66.3% 0.18 15.3)
XYZxyz(41.0662, 26.2762, 17.6581)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A6E #5AECD8
analogous
#EC5AB7 #EC5A6E #EC8F5A
triadic
#EC5A6E #6EEC5A #5A6EEC
tetradic
#EC5A6E #B7EC5A #5AECD8 #8F5AEC
square
#EC5A6E #B7EC5A #5AECD8 #8F5AEC
split-complementary
#EC5A6E #5AEC8F #5AB7EC
monochromatic
#B7152B #E6233E #EC5A6E #F2919E #F9C8CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5A6E#FFFFFF#000000##000000
##EC5A6E1.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)
#7D796E
Deuteranopia (green-blind)
#A2976A
Tritanopia (blue-blind)
#FF4162
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a6e;
/* rgb */ color: rgb(236, 90, 110);
/* oklch */ color: oklch(66.3% 0.180 15.3);
Tailwind
colors: {
  custom: {
    50: '#f88f97',
    500: '#ec5a6e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a6e;
$custom-light: #f88f97;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a6e",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 110
  },
  "hsl": {
    "h": 351.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66295,
    "c": 0.18009,
    "h": 15.3
  },
  "luminance": 0.26271
}

Semantic roles & 50–950 ramp

primary
#EC5A6E
secondary
#B7EBE3
accent
#DCBF0A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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