#B4154B#B4154B
#B4154B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 9.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B4154B |
|---|---|
| RGB | rgb(180, 21, 75) |
| HSL | hsl(340, 79%, 39%) |
| HSV | hsv(340, 88%, 71%) |
| CMYK | cmyk(0%, 88.3%, 58.3%, 29.4%) |
| CIE-LAB | lab(39.16, 61.43, 12.54) |
| CIE-LCH | lch(39.16, 62.70, 11.54°) |
| OKLab | oklab(49.99% 0.1866 0.0314) |
| OKLCH | oklch(49.99% 0.189 9.6) |
| XYZ | xyz(20.3627, 10.7507, 7.6582) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.75
Purplish Red
#B0054B
ΔE00 1.83
Rouge
#AB1239
ΔE00 4.77
Ruby
#CA0147
ΔE00 4.98
Rose Red
#BE013C
ΔE00 5.12
Cranberry
#9E003A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4154B #15B47E
analogous
#B4159A #B4154B #B42F15
triadic
#B4154B #4BB415 #154BB4
tetradic
#B4154B #9AB415 #15B47E #2F15B4
square
#B4154B #9AB415 #15B47E #2F15B4
split-complementary
#B4154B #15B42F #159AB4
monochromatic
#46081D #7D0F34 #B4154B #E52164 #EC588A
Accessibility & contrast
On white
6.67
#B4154B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B4154B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4154B
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4154B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4154B | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47484C
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C5002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b4154b; /* rgb */ color: rgb(180, 21, 75); /* oklch */ color: oklch(50.0% 0.189 9.6);
Tailwind
colors: {
custom: {
50: '#d2697c',
500: '#b4154b',
950: '#000000',
},
}SCSS
$custom: #b4154b; $custom-light: #d2697c; $custom-dark: #000000;
JSON
{
"hex": "#b4154b",
"rgb": {
"r": 180,
"g": 21,
"b": 75
},
"hsl": {
"h": 339.623,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.49994,
"c": 0.18921,
"h": 9.6
},
"luminance": 0.10748
}Semantic roles & 50–950 ramp
primary
#B4154B
secondary
#56CFA6
accent
#F6B332
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150709
muted
#837A7B