#EB5F97#EB5F97

#EB5F97 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.8% C 0.181 H 358.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EB5F97
RGBrgb(235, 95, 151)
HSLhsl(336, 78%, 65%)
HSVhsv(336, 60%, 92%)
CMYKcmyk(0%, 59.6%, 35.7%, 7.8%)
CIE-LABlab(59.97, 59.18, -2.52)
CIE-LCHlch(59.97, 59.23, 357.56°)
OKLaboklab(67.84% 0.1806 -0.0059)
OKLCHoklch(67.84% 0.181 358.1)
XYZxyz(43.9416, 28.0857, 32.3791)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5F97 #5FEBB3
analogous
#EB5FDD #EB5F97 #EB6D5F
triadic
#EB5F97 #97EB5F #5F97EB
tetradic
#EB5F97 #DDEB5F #5FEBB3 #6D5FEB
square
#EB5F97 #DDEB5F #5FEBB3 #6D5FEB
split-complementary
#EB5F97 #5FEB6D #5FDDEB
monochromatic
#B91758 #E42974 #EB5F97 #F295BA #F9CCDE

Accessibility & contrast

On white

3.17
#EB5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EB5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5F97
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5F97#FFFFFF#000000##000000
##EB5F971.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778099
Deuteranopia (green-blind)
#9C9A94
Tritanopia (blue-blind)
#FD5375
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #eb5f97;
/* rgb */ color: rgb(235, 95, 151);
/* oklch */ color: oklch(67.8% 0.181 358.1);
Tailwind
colors: {
  custom: {
    50: '#f693b5',
    500: '#eb5f97',
    950: '#000000',
  },
}
SCSS
$custom: #eb5f97;
$custom-light: #f693b5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5f97",
  "rgb": {
    "r": 235,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 336,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.18067,
    "h": 358.1
  },
  "luminance": 0.28081
}

Semantic roles & 50–950 ramp

primary
#EB5F97
secondary
#BBEBD8
accent
#DA870B
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EB5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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