#EA5171#EA5171

#EA5171 is a light, vivid red. Relative luminance 0.246; OKLCH L 65.0% C 0.189 H 11.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#EA5171
RGBrgb(234, 81, 113)
HSLhsl(347, 78%, 62%)
HSVhsv(347, 65%, 92%)
CMYKcmyk(0%, 65.4%, 51.7%, 8.2%)
CIE-LABlab(56.66, 61.07, 14.97)
CIE-LCHlch(56.66, 62.88, 13.78°)
OKLaboklab(65.03% 0.1848 0.038)
OKLCHoklch(65.03% 0.189 11.6)
XYZxyz(39.8582, 24.5747, 18.2641)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA5171 #51EACA
analogous
#EA51BE #EA5171 #EA7E51
triadic
#EA5171 #71EA51 #5171EA
tetradic
#EA5171 #BEEA51 #51EACA #7E51EA
square
#EA5171 #BEEA51 #51EACA #7E51EA
split-complementary
#EA5171 #51EA7E #51BEEA
monochromatic
#AC1534 #E21B45 #EA5171 #F1889E #F7BECA

Accessibility & contrast

On white

3.55
#EA5171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#EA5171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA5171
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA5171#FFFFFF#000000##000000
##EA51711.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#9D936D
Tritanopia (blue-blind)
#FF365E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ea5171;
/* rgb */ color: rgb(234, 81, 113);
/* oklch */ color: oklch(65.0% 0.189 11.6);
Tailwind
colors: {
  custom: {
    50: '#f78a99',
    500: '#ea5171',
    950: '#000000',
  },
}
SCSS
$custom: #ea5171;
$custom-light: #f78a99;
$custom-dark: #000000;
JSON
{
  "hex": "#ea5171",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 347.451,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.18867,
    "h": 11.6
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#EA5171
secondary
#AFE8DC
accent
#DBAF0B
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #EA5171

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

Preview Lab → · Contrast checker → · Palette generator →

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