#EB5171#EB5171

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

Color values

HEX#EB5171
RGBrgb(235, 81, 113)
HSLhsl(348, 79%, 62%)
HSVhsv(348, 66%, 92%)
CMYKcmyk(0%, 65.5%, 51.9%, 7.8%)
CIE-LABlab(56.83, 61.38, 15.23)
CIE-LCHlch(56.83, 63.24, 13.94°)
OKLaboklab(65.19% 0.1857 0.0386)
OKLCHoklch(65.19% 0.19 11.7)
XYZxyz(40.1875, 24.7445, 18.2795)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5171 #51EBCB
analogous
#EB51BE #EB5171 #EB7E51
triadic
#EB5171 #71EB51 #5171EB
tetradic
#EB5171 #BEEB51 #51EBCB #7E51EB
square
#EB5171 #BEEB51 #51EBCB #7E51EB
split-complementary
#EB5171 #51EB7E #51BEEB
monochromatic
#AE1434 #E51A44 #EB5171 #F1889E #F8BFCB

Accessibility & contrast

On white

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

On black

5.95
#EB5171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5171
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5171#FFFFFF#000000##000000
##EB51711.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb5171;
/* rgb */ color: rgb(235, 81, 113);
/* oklch */ color: oklch(65.2% 0.190 11.7);
Tailwind
colors: {
  custom: {
    50: '#f88a99',
    500: '#eb5171',
    950: '#000000',
  },
}
SCSS
$custom: #eb5171;
$custom-light: #f88a99;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5171",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 347.532,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65185,
    "c": 0.18966,
    "h": 11.7
  },
  "luminance": 0.24739
}

Semantic roles & 50–950 ramp

primary
#EB5171
secondary
#B0E8DC
accent
#DCB00A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #EB5171

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

Preview Lab → · Contrast checker → · Palette generator →

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