#EC5A6A#EC5A6A

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

Color values

HEX#EC5A6A
RGBrgb(236, 90, 106)
HSLhsl(353, 79%, 64%)
HSVhsv(353, 62%, 93%)
CMYKcmyk(0%, 61.9%, 55.1%, 7.5%)
CIE-LABlab(58.22, 57.43, 21.25)
CIE-LCHlch(58.22, 61.24, 20.31°)
OKLaboklab(66.21% 0.1722 0.0527)
OKLCHoklch(66.21% 0.18 17)
XYZxyz(40.8533, 26.1911, 16.5370)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A6A #5AECDC
analogous
#EC5AB3 #EC5A6A #EC935A
triadic
#EC5A6A #6AEC5A #5A6AEC
tetradic
#EC5A6A #B3EC5A #5AECDC #935AEC
square
#EC5A6A #B3EC5A #5AECDC #935AEC
split-complementary
#EC5A6A #5AEC93 #5AB3EC
monochromatic
#B71527 #E62338 #EC5A6A #F2919C #F9C8CD

Accessibility & contrast

On white

3.37
#EC5A6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#EC5A6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A6A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A6A#FFFFFF#000000##000000
##EC5A6A1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D796A
Deuteranopia (green-blind)
#A29766
Tritanopia (blue-blind)
#FF4061
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a6a;
/* rgb */ color: rgb(236, 90, 106);
/* oklch */ color: oklch(66.2% 0.180 17.0);
Tailwind
colors: {
  custom: {
    50: '#f88f94',
    500: '#ec5a6a',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a6a;
$custom-light: #f88f94;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a6a",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 106
  },
  "hsl": {
    "h": 353.425,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.18005,
    "h": 17
  },
  "luminance": 0.26186
}

Semantic roles & 50–950 ramp

primary
#EC5A6A
secondary
#B7EBE5
accent
#DCC50A
background
#FFF9F9
surface
#FFF1F1
border
#D7CBCB
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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