#B4336E#B4336E
#B4336E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 356.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B4336E |
|---|---|
| RGB | rgb(180, 51, 110) |
| HSL | hsl(333, 56%, 45%) |
| HSV | hsv(333, 72%, 71%) |
| CMYK | cmyk(0%, 71.7%, 38.9%, 29.4%) |
| CIE-LAB | lab(43.06, 56.19, -3.92) |
| CIE-LCH | lch(43.06, 56.33, 356.01°) |
| OKLab | oklab(53.18% 0.1723 -0.0096) |
| OKLCH | oklch(53.18% 0.173 356.8) |
| XYZ | xyz(22.8222, 13.1995, 16.0948) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.54
Deep Pink
#CB0162
ΔE00 5.49
Mediumvioletred
#C71585
ΔE00 5.86
Light Burgundy
#A8415B
ΔE00 6.63
Violet Red
#A50055
ΔE00 7.15
Dark Hot Pink
#D90166
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4336E #33B479
analogous
#B433AE #B4336E #B43833
triadic
#B4336E #6EB433 #336EB4
tetradic
#B4336E #AEB433 #33B479 #3833B4
square
#B4336E #AEB433 #33B479 #3833B4
split-complementary
#B4336E #33B438 #33AEB4
monochromatic
#551834 #842551 #B4336E #CF558D #DC85AD
Accessibility & contrast
On white
5.77
#B4336E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#B4336E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4336E
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4336E | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5670
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C3244C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b4336e; /* rgb */ color: rgb(180, 51, 110); /* oklch */ color: oklch(53.2% 0.173 356.8);
Tailwind
colors: {
custom: {
50: '#cf7597',
500: '#b4336e',
950: '#000000',
},
}SCSS
$custom: #b4336e; $custom-light: #cf7597; $custom-dark: #000000;
JSON
{
"hex": "#b4336e",
"rgb": {
"r": 180,
"g": 51,
"b": 110
},
"hsl": {
"h": 332.558,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.53183,
"c": 0.17261,
"h": 356.8
},
"luminance": 0.13197
}Semantic roles & 50–950 ramp
primary
#B4336E
secondary
#7DC6A5
accent
#DF9A49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E