#EA5172#EA5172

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

Color values

HEX#EA5172
RGBrgb(234, 81, 114)
HSLhsl(347, 78%, 62%)
HSVhsv(347, 65%, 92%)
CMYKcmyk(0%, 65.4%, 51.3%, 8.2%)
CIE-LABlab(56.68, 61.15, 14.42)
CIE-LCHlch(56.68, 62.82, 13.26°)
OKLaboklab(65.05% 0.1852 0.0367)
OKLCHoklch(65.05% 0.189 11.2)
XYZxyz(39.9148, 24.5974, 18.5622)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA5172 #51EAC9
analogous
#EA51BF #EA5172 #EA7D51
triadic
#EA5172 #72EA51 #5172EA
tetradic
#EA5172 #BFEA51 #51EAC9 #7D51EA
square
#EA5172 #BFEA51 #51EAC9 #7D51EA
split-complementary
#EA5172 #51EA7D #51BFEA
monochromatic
#AC1535 #E21B46 #EA5172 #F1889E #F7BECB

Accessibility & contrast

On white

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

On black

5.92
#EA5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA5172
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA5172#FFFFFF#000000##000000
##EA51721.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea5172;
/* rgb */ color: rgb(234, 81, 114);
/* oklch */ color: oklch(65.1% 0.189 11.2);
Tailwind
colors: {
  custom: {
    50: '#f78a9a',
    500: '#ea5172',
    950: '#000000',
  },
}
SCSS
$custom: #ea5172;
$custom-light: #f78a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ea5172",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 347.059,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.18877,
    "h": 11.2
  },
  "luminance": 0.24592
}

Semantic roles & 50–950 ramp

primary
#EA5172
secondary
#AFE8DC
accent
#DBAE0B
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EA5172

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

Preview Lab → · Contrast checker → · Palette generator →

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