#B42A63#B42A63
#B42A63 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.178 H 0.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A63 |
|---|---|
| RGB | rgb(180, 42, 99) |
| HSL | hsl(335, 62%, 44%) |
| HSV | hsv(335, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 45%, 29.4%) |
| CIE-LAB | lab(41.63, 58.14, 0.84) |
| CIE-LCH | lch(41.63, 58.15, 0.83°) |
| OKLab | oklab(52.02% 0.1785 0.0028) |
| OKLCH | oklch(52.02% 0.178 0.9) |
| XYZ | xyz(21.9042, 12.2630, 13.0155) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.12
Light Burgundy
#A8415B
ΔE00 5.39
Violet Red
#A50055
ΔE00 5.52
Purplish Red
#B0054B
ΔE00 5.68
Magenta (survey)
#C20078
ΔE00 5.75
Raspberry (survey)
#B00149
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A63 #2AB47B
analogous
#B42AA8 #B42A63 #B4362A
triadic
#B42A63 #63B42A #2A63B4
tetradic
#B42A63 #A8B42A #2AB47B #362AB4
square
#B42A63 #A8B42A #2AB47B #362AB4
split-complementary
#B42A63 #2AB436 #2AA8B4
monochromatic
#51132C #821E48 #B42A63 #D44781 #E079A3
Accessibility & contrast
On white
6.08
#B42A63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B42A63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A63
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A63 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5164
Deuteranopia (green-blind)
#6F6C60
Tritanopia (blue-blind)
#C40D43
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42a63; /* rgb */ color: rgb(180, 42, 99); /* oklch */ color: oklch(52.0% 0.178 0.9);
Tailwind
colors: {
custom: {
50: '#d0718f',
500: '#b42a63',
950: '#000000',
},
}SCSS
$custom: #b42a63; $custom-light: #d0718f; $custom-dark: #000000;
JSON
{
"hex": "#b42a63",
"rgb": {
"r": 180,
"g": 42,
"b": 99
},
"hsl": {
"h": 335.217,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.52018,
"c": 0.17849,
"h": 0.9
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#B42A63
secondary
#72C8A4
accent
#E5A243
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D