#EB5170#EB5170

#EB5170 is a light, vivid red. Relative luminance 0.247; OKLCH L 65.2% C 0.190 H 12.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#EB5170
RGBrgb(235, 81, 112)
HSLhsl(348, 79%, 62%)
HSVhsv(348, 66%, 92%)
CMYKcmyk(0%, 65.5%, 52.3%, 7.8%)
CIE-LABlab(56.80, 61.30, 15.79)
CIE-LCHlch(56.80, 63.30, 14.44°)
OKLaboklab(65.16% 0.1853 0.0399)
OKLCHoklch(65.16% 0.19 12.2)
XYZxyz(40.1315, 24.7221, 17.9847)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5170 #51EBCC
analogous
#EB51BD #EB5170 #EB7F51
triadic
#EB5170 #70EB51 #5170EB
tetradic
#EB5170 #BDEB51 #51EBCC #7F51EB
square
#EB5170 #BDEB51 #51EBCC #7F51EB
split-complementary
#EB5170 #51EB7F #51BDEB
monochromatic
#AE1433 #E51A43 #EB5170 #F1889D #F8BFCA

Accessibility & contrast

On white

3.53
#EB5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#EB5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5170
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5170#FFFFFF#000000##000000
##EB51701.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#767470
Deuteranopia (green-blind)
#9D946C
Tritanopia (blue-blind)
#FF355D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #eb5170;
/* rgb */ color: rgb(235, 81, 112);
/* oklch */ color: oklch(65.2% 0.190 12.2);
Tailwind
colors: {
  custom: {
    50: '#f88a98',
    500: '#eb5170',
    950: '#000000',
  },
}
SCSS
$custom: #eb5170;
$custom-light: #f88a98;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5170",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 347.922,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65161,
    "c": 0.18957,
    "h": 12.2
  },
  "luminance": 0.24717
}

Semantic roles & 50–950 ramp

primary
#EB5170
secondary
#B0E8DD
accent
#DCB10A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #EB5170

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

Preview Lab → · Contrast checker → · Palette generator →

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