#B5275B#B5275B
#B5275B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.180 H 4.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B5275B |
|---|---|
| RGB | rgb(181, 39, 91) |
| HSL | hsl(338, 65%, 43%) |
| HSV | hsv(338, 78%, 71%) |
| CMYK | cmyk(0%, 78.5%, 49.7%, 29%) |
| CIE-LAB | lab(41.27, 58.61, 5.37) |
| CIE-LCH | lch(41.27, 58.86, 5.24°) |
| OKLab | oklab(51.71% 0.1794 0.0143) |
| OKLCH | oklch(51.71% 0.18 4.5) |
| XYZ | xyz(21.6718, 12.0331, 11.0769) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.85
Purplish Red
#B0054B
ΔE00 4.01
Raspberry (survey)
#B00149
ΔE00 4.43
Light Burgundy
#A8415B
ΔE00 4.57
Violet Red
#A50055
ΔE00 5.72
Dark Hot Pink
#D90166
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5275B #27B581
analogous
#B527A2 #B5275B #B53A27
triadic
#B5275B #5BB527 #275BB5
tetradic
#B5275B #A2B527 #27B581 #3A27B5
square
#B5275B #A2B527 #27B581 #3A27B5
split-complementary
#B5275B #27B53A #27A2B5
monochromatic
#501128 #831C42 #B5275B #D64379 #E1759D
Accessibility & contrast
On white
6.17
#B5275B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B5275B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5275B
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5275B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5275B | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#C5003E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b5275b; /* rgb */ color: rgb(181, 39, 91); /* oklch */ color: oklch(51.7% 0.180 4.5);
Tailwind
colors: {
custom: {
50: '#d17089',
500: '#b5275b',
950: '#000000',
},
}SCSS
$custom: #b5275b; $custom-light: #d17089; $custom-dark: #000000;
JSON
{
"hex": "#b5275b",
"rgb": {
"r": 181,
"g": 39,
"b": 91
},
"hsl": {
"h": 338.028,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.51712,
"c": 0.17998,
"h": 4.5
},
"luminance": 0.1203
}Semantic roles & 50–950 ramp
primary
#B5275B
secondary
#6FC9A8
accent
#E8AA40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C