#B5274B#B5274B
#B5274B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 12.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B5274B |
|---|---|
| RGB | rgb(181, 39, 75) |
| HSL | hsl(345, 65%, 43%) |
| HSV | hsv(345, 78%, 71%) |
| CMYK | cmyk(0%, 78.5%, 58.6%, 29%) |
| CIE-LAB | lab(40.87, 57.38, 14.92) |
| CIE-LCH | lch(40.87, 59.29, 14.57°) |
| OKLab | oklab(51.29% 0.1733 0.0371) |
| OKLCH | oklch(51.29% 0.177 12.1) |
| XYZ | xyz(21.0537, 11.7859, 7.8215) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.88
Raspberry (survey)
#B00149
ΔE00 4.06
Rose Red
#BE013C
ΔE00 4.09
Purplish Red
#B0054B
ΔE00 4.17
Rouge
#AB1239
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5274B #27B591
analogous
#B52792 #B5274B #B54A27
triadic
#B5274B #4BB527 #274BB5
tetradic
#B5274B #92B527 #27B591 #4A27B5
square
#B5274B #92B527 #27B591 #4A27B5
split-complementary
#B5274B #27B54A #2792B5
monochromatic
#501121 #831C36 #B5274B #D64368 #E17591
Accessibility & contrast
On white
6.26
#B5274B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B5274B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5274B
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5274B | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#736B47
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b5274b; /* rgb */ color: rgb(181, 39, 75); /* oklch */ color: oklch(51.3% 0.177 12.1);
Tailwind
colors: {
custom: {
50: '#d26f7d',
500: '#b5274b',
950: '#000000',
},
}SCSS
$custom: #b5274b; $custom-light: #d26f7d; $custom-dark: #000000;
JSON
{
"hex": "#b5274b",
"rgb": {
"r": 181,
"g": 39,
"b": 75
},
"hsl": {
"h": 344.789,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.51292,
"c": 0.17725,
"h": 12.1
},
"luminance": 0.11783
}Semantic roles & 50–950 ramp
primary
#B5274B
secondary
#6FC9B2
accent
#E8BD40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B