#B42B7F#B42B7F
#B42B7F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.190 H 348.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B42B7F |
|---|---|
| RGB | rgb(180, 43, 127) |
| HSL | hsl(323, 61%, 44%) |
| HSV | hsv(323, 76%, 71%) |
| CMYK | cmyk(0%, 76.1%, 29.4%, 29.4%) |
| CIE-LAB | lab(42.71, 60.83, -14.94) |
| CIE-LCH | lch(42.71, 62.64, 346.20°) |
| OKLab | oklab(53.13% 0.1855 -0.0393) |
| OKLCH | oklch(53.13% 0.19 348) |
| XYZ | xyz(23.5182, 12.9660, 21.3387) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.22
Magenta (survey)
#C20078
ΔE00 3.37
Red Violet
#9E0168
ΔE00 7.06
Deep Magenta
#A0025C
ΔE00 8.08
Ugly Purple
#A442A0
ΔE00 8.44
Dark Fuchsia
#9D0759
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42B7F #2BB460
analogous
#A42BB4 #B42B7F #B42B3A
triadic
#B42B7F #7FB42B #2B7FB4
tetradic
#B42B7F #B4A42B #2BB460 #2B3AB4
square
#B42B7F #B4A42B #2BB460 #2B3AB4
split-complementary
#B42B7F #3AB42B #2BB4A4
monochromatic
#511339 #831F5C #B42B7F #D3499E #DF7AB8
Accessibility & contrast
On white
5.85
#B42B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B42B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42B7F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42B7F | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#C12452
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b42b7f; /* rgb */ color: rgb(180, 43, 127); /* oklch */ color: oklch(53.1% 0.190 348.0);
Tailwind
colors: {
custom: {
50: '#cf72a4',
500: '#b42b7f',
950: '#000000',
},
}SCSS
$custom: #b42b7f; $custom-light: #cf72a4; $custom-dark: #000000;
JSON
{
"hex": "#b42b7f",
"rgb": {
"r": 180,
"g": 43,
"b": 127
},
"hsl": {
"h": 323.212,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.53126,
"c": 0.1896,
"h": 348
},
"luminance": 0.12963
}Semantic roles & 50–950 ramp
primary
#B42B7F
secondary
#73C794
accent
#E58243
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F