#B42F5B#B42F5B
#B42F5B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.171 H 5.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F5B |
|---|---|
| RGB | rgb(180, 47, 91) |
| HSL | hsl(340, 59%, 45%) |
| HSV | hsv(340, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 49.4%, 29.4%) |
| CIE-LAB | lab(41.99, 55.77, 6.38) |
| CIE-LCH | lch(41.99, 56.13, 6.53°) |
| OKLab | oklab(52.21% 0.1703 0.0168) |
| OKLCH | oklch(52.21% 0.171 5.6) |
| XYZ | xyz(21.7291, 12.4946, 11.1630) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.54
Deep Pink
#CB0162
ΔE00 4.35
Purplish Red
#B0054B
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 4.92
Dark Rose
#B5485D
ΔE00 5.57
Light Maroon
#A24857
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F5B #2FB488
analogous
#B42F9E #B42F5B #B4452F
triadic
#B42F5B #5BB42F #2F5BB4
tetradic
#B42F5B #9EB42F #2FB488 #452FB4
square
#B42F5B #9EB42F #2FB488 #452FB4
split-complementary
#B42F5B #2FB445 #2F9EB4
monochromatic
#53162A #832242 #B42F5B #D14F7A #DE809F
Accessibility & contrast
On white
6.00
#B42F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B42F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F5B
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F5B | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F525C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C41241
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42f5b; /* rgb */ color: rgb(180, 47, 91); /* oklch */ color: oklch(52.2% 0.171 5.6);
Tailwind
colors: {
custom: {
50: '#d07389',
500: '#b42f5b',
950: '#000000',
},
}SCSS
$custom: #b42f5b; $custom-light: #d07389; $custom-dark: #000000;
JSON
{
"hex": "#b42f5b",
"rgb": {
"r": 180,
"g": 47,
"b": 91
},
"hsl": {
"h": 340.15,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.5221,
"c": 0.17115,
"h": 5.6
},
"luminance": 0.12492
}Semantic roles & 50–950 ramp
primary
#B42F5B
secondary
#78C7AD
accent
#E2AE46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C