#B42F60#B42F60
#B42F60 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.172 H 3.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F60 |
|---|---|
| RGB | rgb(180, 47, 96) |
| HSL | hsl(338, 59%, 45%) |
| HSV | hsv(338, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 46.7%, 29.4%) |
| CIE-LAB | lab(42.13, 56.21, 3.44) |
| CIE-LCH | lch(42.13, 56.32, 3.51°) |
| OKLab | oklab(52.36% 0.1722 0.0094) |
| OKLCH | oklch(52.36% 0.172 3.1) |
| XYZ | xyz(21.9520, 12.5838, 12.3370) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.08
Light Burgundy
#A8415B
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 5.29
Raspberry (survey)
#B00149
ΔE00 5.72
Violet Red
#A50055
ΔE00 6.25
Dark Hot Pink
#D90166
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F60 #2FB483
analogous
#B42FA2 #B42F60 #B4412F
triadic
#B42F60 #60B42F #2F60B4
tetradic
#B42F60 #A2B42F #2FB483 #412FB4
square
#B42F60 #A2B42F #2FB483 #412FB4
split-complementary
#B42F60 #2FB441 #2FA2B4
monochromatic
#53162C #832246 #B42F60 #D14F7F #DE80A2
Accessibility & contrast
On white
5.97
#B42F60 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B42F60 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F60
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F60 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5361
Deuteranopia (green-blind)
#716D5D
Tritanopia (blue-blind)
#C41644
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42f60; /* rgb */ color: rgb(180, 47, 96); /* oklch */ color: oklch(52.4% 0.172 3.1);
Tailwind
colors: {
custom: {
50: '#d0738c',
500: '#b42f60',
950: '#000000',
},
}SCSS
$custom: #b42f60; $custom-light: #d0738c; $custom-dark: #000000;
JSON
{
"hex": "#b42f60",
"rgb": {
"r": 180,
"g": 47,
"b": 96
},
"hsl": {
"h": 337.895,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.52356,
"c": 0.17241,
"h": 3.1
},
"luminance": 0.12581
}Semantic roles & 50–950 ramp
primary
#B42F60
secondary
#78C7AA
accent
#E2A846
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D