#EB5258#EB5258

#EB5258 is a light, vivid red. Relative luminance 0.244; OKLCH L 64.8% C 0.189 H 21.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#EB5258
RGBrgb(235, 82, 88)
HSLhsl(358, 79%, 62%)
HSVhsv(358, 65%, 92%)
CMYKcmyk(0%, 65.1%, 62.6%, 7.8%)
CIE-LABlab(56.49, 59.22, 29.40)
CIE-LCHlch(56.49, 66.11, 26.41°)
OKLaboklab(64.78% 0.1749 0.0703)
OKLCHoklch(64.78% 0.189 21.9)
XYZxyz(39.0436, 24.4067, 11.8857)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5258 #52EBE5
analogous
#EB52A5 #EB5258 #EB9952
triadic
#EB5258 #58EB52 #5258EB
tetradic
#EB5258 #A5EB52 #52EBE5 #9952EB
square
#EB5258 #A5EB52 #52EBE5 #9952EB
split-complementary
#EB5258 #52EB99 #52A5EB
monochromatic
#AE141A #E51B23 #EB5258 #F1898D #F8C0C2

Accessibility & contrast

On white

3.57
#EB5258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#EB5258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5258
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5258#FFFFFF#000000##000000
##EB52581.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7357
Deuteranopia (green-blind)
#A19454
Tritanopia (blue-blind)
#FF2E55
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #eb5258;
/* rgb */ color: rgb(235, 82, 88);
/* oklch */ color: oklch(64.8% 0.189 21.9);
Tailwind
colors: {
  custom: {
    50: '#f98a87',
    500: '#eb5258',
    950: '#000000',
  },
}
SCSS
$custom: #eb5258;
$custom-light: #f98a87;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5258",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 357.647,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.18855,
    "h": 21.9
  },
  "luminance": 0.24401
}

Semantic roles & 50–950 ramp

primary
#EB5258
secondary
#B0E8E6
accent
#DCD30A
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0B
muted
#877D7C

Preview Lab

Preview with #EB5258

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

Preview Lab → · Contrast checker → · Palette generator →

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