#B42762#B42762
#B42762 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 1.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B42762 |
|---|---|
| RGB | rgb(180, 39, 98) |
| HSL | hsl(335, 64%, 43%) |
| HSV | hsv(335, 78%, 71%) |
| CMYK | cmyk(0%, 78.3%, 45.6%, 29.4%) |
| CIE-LAB | lab(41.28, 58.96, 0.96) |
| CIE-LCH | lch(41.28, 58.97, 0.93°) |
| OKLab | oklab(51.75% 0.1811 0.0031) |
| OKLCH | oklch(51.75% 0.181 1) |
| XYZ | xyz(21.7543, 12.0391, 12.7311) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.08
Violet Red
#A50055
ΔE00 5.18
Purplish Red
#B0054B
ΔE00 5.41
Light Burgundy
#A8415B
ΔE00 5.59
Magenta (survey)
#C20078
ΔE00 5.72
Raspberry (survey)
#B00149
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42762 #27B479
analogous
#B427A8 #B42762 #B43327
triadic
#B42762 #62B427 #2762B4
tetradic
#B42762 #A8B427 #27B479 #3327B4
square
#B42762 #A8B427 #27B479 #3327B4
split-complementary
#B42762 #27B433 #27A8B4
monochromatic
#4F112B #821C47 #B42762 #D64280 #E174A2
Accessibility & contrast
On white
6.16
#B42762 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B42762 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42762
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42762 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42762 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#C40441
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42762; /* rgb */ color: rgb(180, 39, 98); /* oklch */ color: oklch(51.7% 0.181 1.0);
Tailwind
colors: {
custom: {
50: '#d0708e',
500: '#b42762',
950: '#000000',
},
}SCSS
$custom: #b42762; $custom-light: #d0708e; $custom-dark: #000000;
JSON
{
"hex": "#b42762",
"rgb": {
"r": 180,
"g": 39,
"b": 98
},
"hsl": {
"h": 334.894,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.5175,
"c": 0.18109,
"h": 1
},
"luminance": 0.12036
}Semantic roles & 50–950 ramp
primary
#B42762
secondary
#6FC8A3
accent
#E7A240
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D