#B42F63#B42F63
#B42F63 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.173 H 1.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F63 |
|---|---|
| RGB | rgb(180, 47, 99) |
| HSL | hsl(337, 59%, 45%) |
| HSV | hsv(337, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 45%, 29.4%) |
| CIE-LAB | lab(42.22, 56.50, 1.69) |
| CIE-LCH | lch(42.22, 56.52, 1.72°) |
| OKLab | oklab(52.45% 0.1732 0.005) |
| OKLCH | oklch(52.45% 0.173 1.7) |
| XYZ | xyz(22.0928, 12.6401, 13.0784) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.15
Light Burgundy
#A8415B
ΔE00 4.72
Purplish Red
#B0054B
ΔE00 5.85
Violet Red
#A50055
ΔE00 6.16
Magenta (survey)
#C20078
ΔE00 6.29
Raspberry (survey)
#B00149
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F63 #2FB480
analogous
#B42FA6 #B42F63 #B43D2F
triadic
#B42F63 #63B42F #2F63B4
tetradic
#B42F63 #A6B42F #2FB480 #3D2FB4
square
#B42F63 #A6B42F #2FB480 #3D2FB4
split-complementary
#B42F63 #2FB43D #2FA6B4
monochromatic
#53162E #832248 #B42F63 #D14F82 #DE80A4
Accessibility & contrast
On white
5.95
#B42F63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#B42F63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F63
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F63 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5364
Deuteranopia (green-blind)
#716D60
Tritanopia (blue-blind)
#C31845
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b42f63; /* rgb */ color: rgb(180, 47, 99); /* oklch */ color: oklch(52.4% 0.173 1.7);
Tailwind
colors: {
custom: {
50: '#d0738f',
500: '#b42f63',
950: '#000000',
},
}SCSS
$custom: #b42f63; $custom-light: #d0738f; $custom-dark: #000000;
JSON
{
"hex": "#b42f63",
"rgb": {
"r": 180,
"g": 47,
"b": 99
},
"hsl": {
"h": 336.541,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.52449,
"c": 0.17327,
"h": 1.7
},
"luminance": 0.12637
}Semantic roles & 50–950 ramp
primary
#B42F63
secondary
#78C7A8
accent
#E2A546
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D