#EB817C#EB817C

#EB817C is a light, vivid red. Relative luminance 0.348; OKLCH L 71.9% C 0.131 H 23.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#EB817C
RGBrgb(235, 129, 124)
HSLhsl(3, 74%, 70%)
HSVhsv(3, 47%, 92%)
CMYKcmyk(0%, 45.1%, 47.2%, 7.8%)
CIE-LABlab(65.61, 40.09, 20.95)
CIE-LCHlch(65.61, 45.23, 27.59°)
OKLaboklab(71.88% 0.1201 0.0527)
OKLCHoklch(71.88% 0.131 23.7)
XYZxyz(45.7522, 34.8224, 23.3768)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB817C #7CE6EB
analogous
#EB7CAE #EB817C #EBB97C
triadic
#EB817C #7CEB81 #817CEB
tetradic
#EB817C #AEEB7C #7CE6EB #B97CEB
square
#EB817C #AEEB7C #7CE6EB #B97CEB
split-complementary
#EB817C #7CEBB9 #7CAEEB
monochromatic
#CD271F #E34E47 #EB817C #F3B4B1 #FBE5E4

Accessibility & contrast

On white

2.64
#EB817C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#EB817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB817C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB817C#FFFFFF#000000##000000
##EB817C1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99927B
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#FE7280
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #eb817c;
/* rgb */ color: rgb(235, 129, 124);
/* oklch */ color: oklch(71.9% 0.131 23.7);
Tailwind
colors: {
  custom: {
    50: '#f5a7a2',
    500: '#eb817c',
    950: '#000000',
  },
}
SCSS
$custom: #eb817c;
$custom-light: #f5a7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb817c",
  "rgb": {
    "r": 235,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 2.703,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.13116,
    "h": 23.7
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#EB817C
secondary
#D2EFF1
accent
#CDD610
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E

Preview Lab

Preview with #EB817C

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

Preview Lab → · Contrast checker → · Palette generator →

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