#B5284B#B5284B
#B5284B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.4% C 0.176 H 12.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B5284B |
|---|---|
| RGB | rgb(181, 40, 75) |
| HSL | hsl(345, 64%, 43%) |
| HSV | hsv(345, 78%, 71%) |
| CMYK | cmyk(0%, 77.9%, 58.6%, 29%) |
| CIE-LAB | lab(40.98, 57.08, 15.06) |
| CIE-LCH | lch(40.98, 59.04, 14.78°) |
| OKLab | oklab(51.37% 0.1724 0.0374) |
| OKLCH | oklch(51.37% 0.176 12.2) |
| XYZ | xyz(21.0870, 11.8524, 7.8326) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.86
Rose Red
#BE013C
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.22
Purplish Red
#B0054B
ΔE00 4.33
Rouge
#AB1239
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5284B #28B592
analogous
#B52891 #B5284B #B54B28
triadic
#B5284B #4BB528 #284BB5
tetradic
#B5284B #91B528 #28B592 #4B28B5
square
#B5284B #91B528 #28B592 #4B28B5
split-complementary
#B5284B #28B54B #2891B5
monochromatic
#511221 #831D36 #B5284B #D64469 #E17791
Accessibility & contrast
On white
6.23
#B5284B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B5284B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5284B
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5284B | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#736B47
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b5284b; /* rgb */ color: rgb(181, 40, 75); /* oklch */ color: oklch(51.4% 0.176 12.2);
Tailwind
colors: {
custom: {
50: '#d2707d',
500: '#b5284b',
950: '#000000',
},
}SCSS
$custom: #b5284b; $custom-light: #d2707d; $custom-dark: #000000;
JSON
{
"hex": "#b5284b",
"rgb": {
"r": 181,
"g": 40,
"b": 75
},
"hsl": {
"h": 345.106,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.51371,
"c": 0.17636,
"h": 12.2
},
"luminance": 0.11849
}Semantic roles & 50–950 ramp
primary
#B5284B
secondary
#70C8B3
accent
#E7BE41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B