#B4335E#B4335E
#B4335E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.167 H 4.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B4335E |
|---|---|
| RGB | rgb(180, 51, 94) |
| HSL | hsl(340, 56%, 45%) |
| HSV | hsv(340, 72%, 71%) |
| CMYK | cmyk(0%, 71.7%, 47.8%, 29.4%) |
| CIE-LAB | lab(42.58, 54.61, 5.35) |
| CIE-LCH | lch(42.58, 54.87, 5.59°) |
| OKLab | oklab(52.68% 0.1669 0.0142) |
| OKLCH | oklch(52.68% 0.167 4.9) |
| XYZ | xyz(22.0284, 12.8820, 11.9140) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.32
Deep Pink
#CB0162
ΔE00 4.42
Dark Rose
#B5485D
ΔE00 5.32
Purplish Red
#B0054B
ΔE00 5.33
Raspberry (survey)
#B00149
ΔE00 5.69
Light Maroon
#A24857
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4335E #33B489
analogous
#B4339E #B4335E #B44833
triadic
#B4335E #5EB433 #335EB4
tetradic
#B4335E #9EB433 #33B489 #4833B4
square
#B4335E #9EB433 #33B489 #4833B4
split-complementary
#B4335E #33B448 #339EB4
monochromatic
#55182C #842545 #B4335E #CF557E #DC85A2
Accessibility & contrast
On white
5.87
#B4335E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#B4335E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4335E
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4335E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4335E | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C41C45
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b4335e; /* rgb */ color: rgb(180, 51, 94); /* oklch */ color: oklch(52.7% 0.167 4.9);
Tailwind
colors: {
custom: {
50: '#d0758b',
500: '#b4335e',
950: '#000000',
},
}SCSS
$custom: #b4335e; $custom-light: #d0758b; $custom-dark: #000000;
JSON
{
"hex": "#b4335e",
"rgb": {
"r": 180,
"g": 51,
"b": 94
},
"hsl": {
"h": 340,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.52675,
"c": 0.16747,
"h": 4.9
},
"luminance": 0.12879
}Semantic roles & 50–950 ramp
primary
#B4335E
secondary
#7DC6AE
accent
#DFAD49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D