#EB337F#EB337F

#EB337F is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.9% C 0.223 H 1.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#EB337F
RGBrgb(235, 51, 127)
HSLhsl(335, 82%, 56%)
HSVhsv(335, 78%, 92%)
CMYKcmyk(0%, 78.3%, 46%, 7.8%)
CIE-LABlab(53.57, 72.58, 2.28)
CIE-LCHlch(53.57, 72.62, 1.80°)
OKLaboklab(62.89% 0.2229 0.0066)
OKLCHoklch(62.89% 0.223 1.7)
XYZxyz(39.2788, 21.5675, 22.1692)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB337F #33EB9F
analogous
#EB33DB #EB337F #EB4333
triadic
#EB337F #7FEB33 #337FEB
tetradic
#EB337F #DBEB33 #33EB9F #4333EB
square
#EB337F #DBEB33 #33EB9F #4333EB
split-complementary
#EB337F #33EB43 #33DBEB
monochromatic
#950F46 #CD1460 #EB337F #F06BA2 #F6A2C5

Accessibility & contrast

On white

3.95
#EB337F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#EB337F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB337F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB337F#FFFFFF#000000##000000
##EB337F1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#918D7B
Tritanopia (blue-blind)
#FF0055
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #eb337f;
/* rgb */ color: rgb(235, 51, 127);
/* oklch */ color: oklch(62.9% 0.223 1.7);
Tailwind
colors: {
  custom: {
    50: '#f87da3',
    500: '#eb337f',
    950: '#000000',
  },
}
SCSS
$custom: #eb337f;
$custom-light: #f87da3;
$custom-dark: #000000;
JSON
{
  "hex": "#eb337f",
  "rgb": {
    "r": 235,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 335.217,
    "s": 82.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.22295,
    "h": 1.7
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#EB337F
secondary
#97E3C4
accent
#F8A52F
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#180B0F
muted
#867C7F

Preview Lab

Preview with #EB337F

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

Preview Lab → · Contrast checker → · Palette generator →

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