#EC5371#EC5371

#EC5371 is a light, vivid red. Relative luminance 0.252; OKLCH L 65.6% C 0.188 H 12.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#EC5371
RGBrgb(236, 83, 113)
HSLhsl(348, 80%, 63%)
HSVhsv(348, 65%, 93%)
CMYKcmyk(0%, 64.8%, 52.1%, 7.5%)
CIE-LABlab(57.29, 60.88, 15.89)
CIE-LCHlch(57.29, 62.92, 14.63°)
OKLaboklab(65.56% 0.184 0.0402)
OKLCHoklch(65.56% 0.188 12.3)
XYZxyz(40.6695, 25.2169, 18.3453)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5371 #53ECCE
analogous
#EC53BE #EC5371 #EC8153
triadic
#EC5371 #71EC53 #5371EC
tetradic
#EC5371 #BEEC53 #53ECCE #8153EC
square
#EC5371 #BEEC53 #53ECCE #8153EC
split-complementary
#EC5371 #53EC81 #53BEEC
monochromatic
#B11432 #E61C44 #EC5371 #F28A9E #F8C1CC

Accessibility & contrast

On white

3.48
#EC5371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#EC5371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5371
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5371#FFFFFF#000000##000000
##EC53711.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#777671
Deuteranopia (green-blind)
#9F956D
Tritanopia (blue-blind)
#FF385F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec5371;
/* rgb */ color: rgb(236, 83, 113);
/* oklch */ color: oklch(65.6% 0.188 12.3);
Tailwind
colors: {
  custom: {
    50: '#f88b99',
    500: '#ec5371',
    950: '#000000',
  },
}
SCSS
$custom: #ec5371;
$custom-light: #f88b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5371",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 113
  },
  "hsl": {
    "h": 348.235,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6556,
    "c": 0.18837,
    "h": 12.3
  },
  "luminance": 0.25212
}

Semantic roles & 50–950 ramp

primary
#EC5371
secondary
#B2E9DE
accent
#DCB309
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0D
muted
#867D7E

Preview Lab

Preview with #EC5371

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

Preview Lab → · Contrast checker → · Palette generator →

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