#EB5F52#EB5F52

#EB5F52 is a light, vivid red. Relative luminance 0.265; OKLCH L 66.2% C 0.176 H 28.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#EB5F52
RGBrgb(235, 95, 82)
HSLhsl(5, 79%, 62%)
HSVhsv(5, 65%, 92%)
CMYKcmyk(0%, 59.6%, 65.1%, 7.8%)
CIE-LABlab(58.47, 53.32, 35.28)
CIE-LCHlch(58.47, 63.94, 33.50°)
OKLaboklab(66.24% 0.1553 0.0829)
OKLCHoklch(66.24% 0.176 28.1)
XYZxyz(39.8800, 26.4611, 10.9885)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5F52 #52DEEB
analogous
#EB5292 #EB5F52 #EBAC52
triadic
#EB5F52 #52EB5F #5F52EB
tetradic
#EB5F52 #92EB52 #52DEEB #AC52EB
square
#EB5F52 #92EB52 #52DEEB #AC52EB
split-complementary
#EB5F52 #52EBAC #5292EB
monochromatic
#AE2114 #E52C1B #EB5F52 #F19289 #F8C4C0

Accessibility & contrast

On white

3.34
#EB5F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#EB5F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5F52
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5F52#FFFFFF#000000##000000
##EB5F521.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#A7984E
Tritanopia (blue-blind)
#FF425D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #eb5f52;
/* rgb */ color: rgb(235, 95, 82);
/* oklch */ color: oklch(66.2% 0.176 28.1);
Tailwind
colors: {
  custom: {
    50: '#f99183',
    500: '#eb5f52',
    950: '#000000',
  },
}
SCSS
$custom: #eb5f52;
$custom-light: #f99183;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5f52",
  "rgb": {
    "r": 235,
    "g": 95,
    "b": 82
  },
  "hsl": {
    "h": 5.098,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66238,
    "c": 0.17599,
    "h": 28.1
  },
  "luminance": 0.26456
}

Semantic roles & 50–950 ramp

primary
#EB5F52
secondary
#B0E4E8
accent
#CADC0A
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EB5F52

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

Preview Lab → · Contrast checker → · Palette generator →

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