#B42F5D#B42F5D
#B42F5D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.172 H 4.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F5D |
|---|---|
| RGB | rgb(180, 47, 93) |
| HSL | hsl(339, 59%, 45%) |
| HSV | hsv(339, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 48.3%, 29.4%) |
| CIE-LAB | lab(42.05, 55.94, 5.20) |
| CIE-LCH | lch(42.05, 56.18, 5.31°) |
| OKLab | oklab(52.27% 0.1711 0.0139) |
| OKLCH | oklch(52.27% 0.172 4.6) |
| XYZ | xyz(21.8165, 12.5296, 11.6234) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.75
Deep Pink
#CB0162
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.82
Raspberry (survey)
#B00149
ΔE00 5.21
Dark Rose
#B5485D
ΔE00 5.88
Dark Hot Pink
#D90166
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F5D #2FB486
analogous
#B42FA0 #B42F5D #B4442F
triadic
#B42F5D #5DB42F #2F5DB4
tetradic
#B42F5D #A0B42F #2FB486 #442FB4
square
#B42F5D #A0B42F #2FB486 #442FB4
split-complementary
#B42F5D #2FB444 #2FA0B4
monochromatic
#53162B #832244 #B42F5D #D14F7C #DE80A0
Accessibility & contrast
On white
5.99
#B42F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B42F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F5D
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F5D | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E535E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C41442
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42f5d; /* rgb */ color: rgb(180, 47, 93); /* oklch */ color: oklch(52.3% 0.172 4.6);
Tailwind
colors: {
custom: {
50: '#d0738a',
500: '#b42f5d',
950: '#000000',
},
}SCSS
$custom: #b42f5d; $custom-light: #d0738a; $custom-dark: #000000;
JSON
{
"hex": "#b42f5d",
"rgb": {
"r": 180,
"g": 47,
"b": 93
},
"hsl": {
"h": 339.248,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.52268,
"c": 0.17163,
"h": 4.6
},
"luminance": 0.12527
}Semantic roles & 50–950 ramp
primary
#B42F5D
secondary
#78C7AB
accent
#E2AC46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C