#B42C7F#B42C7F
#B42C7F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.189 H 348.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B42C7F |
|---|---|
| RGB | rgb(180, 44, 127) |
| HSL | hsl(323, 61%, 44%) |
| HSV | hsv(323, 76%, 71%) |
| CMYK | cmyk(0%, 75.6%, 29.4%, 29.4%) |
| CIE-LAB | lab(42.82, 60.52, -14.78) |
| CIE-LCH | lch(42.82, 62.29, 346.28°) |
| OKLab | oklab(53.21% 0.1845 -0.0389) |
| OKLCH | oklch(53.21% 0.189 348.1) |
| XYZ | xyz(23.5550, 13.0396, 21.3510) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.23
Magenta (survey)
#C20078
ΔE00 3.41
Red Violet
#9E0168
ΔE00 7.15
Deep Magenta
#A0025C
ΔE00 8.14
Ugly Purple
#A442A0
ΔE00 8.44
Dark Fuchsia
#9D0759
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42C7F #2CB461
analogous
#A52CB4 #B42C7F #B42C3B
triadic
#B42C7F #7FB42C #2C7FB4
tetradic
#B42C7F #B4A52C #2CB461 #2C3BB4
square
#B42C7F #B4A52C #2CB461 #2C3BB4
split-complementary
#B42C7F #3BB42C #2CB4A5
monochromatic
#52143A #83205C #B42C7F #D34A9E #DF7CB8
Accessibility & contrast
On white
5.82
#B42C7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#B42C7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42C7F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42C7F | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#C12652
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b42c7f; /* rgb */ color: rgb(180, 44, 127); /* oklch */ color: oklch(53.2% 0.189 348.1);
Tailwind
colors: {
custom: {
50: '#cf73a4',
500: '#b42c7f',
950: '#000000',
},
}SCSS
$custom: #b42c7f; $custom-light: #cf73a4; $custom-dark: #000000;
JSON
{
"hex": "#b42c7f",
"rgb": {
"r": 180,
"g": 44,
"b": 127
},
"hsl": {
"h": 323.382,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.53207,
"c": 0.18855,
"h": 348.1
},
"luminance": 0.13037
}Semantic roles & 50–950 ramp
primary
#B42C7F
secondary
#75C795
accent
#E48244
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F