#B42E6D#B42E6D
#B42E6D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.178 H 356.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E6D |
|---|---|
| RGB | rgb(180, 46, 109) |
| HSL | hsl(332, 59%, 44%) |
| HSV | hsv(332, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 39.4%, 29.4%) |
| CIE-LAB | lab(42.41, 57.84, -4.27) |
| CIE-LCH | lch(42.41, 57.99, 355.78°) |
| OKLab | oklab(52.69% 0.1776 -0.0105) |
| OKLCH | oklch(52.69% 0.178 356.6) |
| XYZ | xyz(22.5613, 12.7642, 15.7407) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.06
Deep Pink
#CB0162
ΔE00 5.38
Mediumvioletred
#C71585
ΔE00 5.68
Violet Red
#A50055
ΔE00 6.55
Deep Magenta
#A0025C
ΔE00 6.80
Light Burgundy
#A8415B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E6D #2EB475
analogous
#B42EB0 #B42E6D #B4322E
triadic
#B42E6D #6DB42E #2E6DB4
tetradic
#B42E6D #B0B42E #2EB475 #322EB4
square
#B42E6D #B0B42E #2EB475 #322EB4
split-complementary
#B42E6D #2EB432 #2EB0B4
monochromatic
#531532 #83224F #B42E6D #D24E8C #DE7EAB
Accessibility & contrast
On white
5.91
#B42E6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B42E6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E6D
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E6D | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#6E6D6A
Tritanopia (blue-blind)
#C31D49
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b42e6d; /* rgb */ color: rgb(180, 46, 109); /* oklch */ color: oklch(52.7% 0.178 356.6);
Tailwind
colors: {
custom: {
50: '#cf7396',
500: '#b42e6d',
950: '#000000',
},
}SCSS
$custom: #b42e6d; $custom-light: #cf7396; $custom-dark: #000000;
JSON
{
"hex": "#b42e6d",
"rgb": {
"r": 180,
"g": 46,
"b": 109
},
"hsl": {
"h": 331.791,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.5269,
"c": 0.17789,
"h": 356.6
},
"luminance": 0.12761
}Semantic roles & 50–950 ramp
primary
#B42E6D
secondary
#77C7A1
accent
#E29945
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E