#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 |
|---|---|
| RGB | rgb(235, 51, 127) |
| HSL | hsl(335, 82%, 56%) |
| HSV | hsv(335, 78%, 92%) |
| CMYK | cmyk(0%, 78.3%, 46%, 7.8%) |
| CIE-LAB | lab(53.57, 72.58, 2.28) |
| CIE-LCH | lch(53.57, 72.62, 1.80°) |
| OKLab | oklab(62.89% 0.2229 0.0066) |
| OKLCH | oklch(62.89% 0.223 1.7) |
| XYZ | xyz(39.2788, 21.5675, 22.1692) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.86
Rose
#FF007F
ΔE00 3.01
Strong Pink
#FF0789
ΔE00 3.38
Hot Pink (survey)
#FF028D
ΔE00 3.87
Electric Pink
#FF0490
ΔE00 4.28
Deeppink
#FF1493
ΔE00 4.62
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 |
|---|---|---|---|---|
| ##EB337F | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.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