#EB5172#EB5172

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

Color values

HEX#EB5172
RGBrgb(235, 81, 114)
HSLhsl(347, 79%, 62%)
HSVhsv(347, 66%, 92%)
CMYKcmyk(0%, 65.5%, 51.5%, 7.8%)
CIE-LABlab(56.85, 61.46, 14.67)
CIE-LCHlch(56.85, 63.18, 13.43°)
OKLaboklab(65.21% 0.1861 0.0373)
OKLCHoklch(65.21% 0.19 11.3)
XYZxyz(40.2441, 24.7672, 18.5777)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5172 #51EBCA
analogous
#EB51BF #EB5172 #EB7D51
triadic
#EB5172 #72EB51 #5172EB
tetradic
#EB5172 #BFEB51 #51EBCA #7D51EB
square
#EB5172 #BFEB51 #51EBCA #7D51EB
split-complementary
#EB5172 #51EB7D #51BFEB
monochromatic
#AE1435 #E51A46 #EB5172 #F1889E #F8BFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB5172#FFFFFF#000000##000000
##EB51721.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)
#757572
Deuteranopia (green-blind)
#9D946E
Tritanopia (blue-blind)
#FF365E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #eb5172;
/* rgb */ color: rgb(235, 81, 114);
/* oklch */ color: oklch(65.2% 0.190 11.3);
Tailwind
colors: {
  custom: {
    50: '#f88a9a',
    500: '#eb5172',
    950: '#000000',
  },
}
SCSS
$custom: #eb5172;
$custom-light: #f88a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5172",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 347.143,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65209,
    "c": 0.18976,
    "h": 11.3
  },
  "luminance": 0.24762
}

Semantic roles & 50–950 ramp

primary
#EB5172
secondary
#B0E8DC
accent
#DCAF0A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EB5172

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

Preview Lab → · Contrast checker → · Palette generator →

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