#B42255#B42255
#B42255 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 6.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B42255 |
|---|---|
| RGB | rgb(180, 34, 85) |
| HSL | hsl(339, 68%, 42%) |
| HSV | hsv(339, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 52.8%, 29.4%) |
| CIE-LAB | lab(40.42, 59.25, 7.93) |
| CIE-LCH | lch(40.42, 59.78, 7.63°) |
| OKLab | oklab(51% 0.181 0.0205) |
| OKLCH | oklch(51% 0.182 6.5) |
| XYZ | xyz(21.0361, 11.5063, 9.7058) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.79
Raspberry (survey)
#B00149
ΔE00 3.14
Deep Pink
#CB0162
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.78
Violet Red
#A50055
ΔE00 5.71
Ruby
#CA0147
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42255 #22B481
analogous
#B4229E #B42255 #B43822
triadic
#B42255 #55B422 #2255B4
tetradic
#B42255 #9EB422 #22B481 #3822B4
square
#B42255 #9EB422 #22B481 #3822B4
split-complementary
#B42255 #22B438 #229EB4
monochromatic
#4D0F24 #81183D #B42255 #DA3A71 #E36D96
Accessibility & contrast
On white
6.36
#B42255 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42255 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42255
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42255 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42255; /* rgb */ color: rgb(180, 34, 85); /* oklch */ color: oklch(51.0% 0.182 6.5);
Tailwind
colors: {
custom: {
50: '#d16e84',
500: '#b42255',
950: '#000000',
},
}SCSS
$custom: #b42255; $custom-light: #d16e84; $custom-dark: #000000;
JSON
{
"hex": "#b42255",
"rgb": {
"r": 180,
"g": 34,
"b": 85
},
"hsl": {
"h": 339.041,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.51001,
"c": 0.18211,
"h": 6.5
},
"luminance": 0.11503
}Semantic roles & 50–950 ramp
primary
#B42255
secondary
#68CAA8
accent
#EBAE3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C