#B4255D#B4255D
#B4255D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 3.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B4255D |
|---|---|
| RGB | rgb(180, 37, 93) |
| HSL | hsl(337, 66%, 43%) |
| HSV | hsv(337, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 48.3%, 29.4%) |
| CIE-LAB | lab(40.93, 59.09, 3.60) |
| CIE-LCH | lch(40.93, 59.20, 3.49°) |
| OKLab | oklab(51.44% 0.1812 0.0098) |
| OKLCH | oklch(51.44% 0.181 3.1) |
| XYZ | xyz(21.4616, 11.8197, 11.5051) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.92
Purplish Red
#B0054B
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.75
Light Burgundy
#A8415B
ΔE00 5.07
Violet Red
#A50055
ΔE00 5.10
Berry
#990F4B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4255D #25B47C
analogous
#B425A5 #B4255D #B43425
triadic
#B4255D #5DB425 #255DB4
tetradic
#B4255D #A5B425 #25B47C #3425B4
square
#B4255D #A5B425 #25B47C #3425B4
split-complementary
#B4255D #25B434 #25A5B4
monochromatic
#4E1029 #811B43 #B4255D #D73F7B #E2719E
Accessibility & contrast
On white
6.24
#B4255D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B4255D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4255D
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4255D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4255D | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494F5E
Deuteranopia (green-blind)
#6F6A5A
Tritanopia (blue-blind)
#C4003E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b4255d; /* rgb */ color: rgb(180, 37, 93); /* oklch */ color: oklch(51.4% 0.181 3.1);
Tailwind
colors: {
custom: {
50: '#d06f8a',
500: '#b4255d',
950: '#000000',
},
}SCSS
$custom: #b4255d; $custom-light: #d06f8a; $custom-dark: #000000;
JSON
{
"hex": "#b4255d",
"rgb": {
"r": 180,
"g": 37,
"b": 93
},
"hsl": {
"h": 336.503,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.51445,
"c": 0.18146,
"h": 3.1
},
"luminance": 0.11817
}Semantic roles & 50–950 ramp
primary
#B4255D
secondary
#6CC9A4
accent
#E9A63F
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C