#B5284A#B5284A
#B5284A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 12.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B5284A |
|---|---|
| RGB | rgb(181, 40, 74) |
| HSL | hsl(346, 64%, 43%) |
| HSV | hsv(346, 78%, 71%) |
| CMYK | cmyk(0%, 77.9%, 59.1%, 29%) |
| CIE-LAB | lab(40.96, 57.01, 15.66) |
| CIE-LCH | lch(40.96, 59.13, 15.36°) |
| OKLab | oklab(51.35% 0.172 0.0388) |
| OKLCH | oklch(51.35% 0.176 12.7) |
| XYZ | xyz(21.0530, 11.8388, 7.6538) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.76
Rose Red
#BE013C
ΔE00 3.82
Rouge
#AB1239
ΔE00 4.34
Raspberry (survey)
#B00149
ΔE00 4.39
Purplish Red
#B0054B
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5284A #28B593
analogous
#B52890 #B5284A #B54C28
triadic
#B5284A #4AB528 #284AB5
tetradic
#B5284A #90B528 #28B593 #4C28B5
square
#B5284A #90B528 #28B593 #4C28B5
split-complementary
#B5284A #28B54C #2890B5
monochromatic
#511221 #831D36 #B5284A #D64467 #E17790
Accessibility & contrast
On white
6.24
#B5284A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B5284A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5284A
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5284A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5284A | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b5284a; /* rgb */ color: rgb(181, 40, 74); /* oklch */ color: oklch(51.3% 0.176 12.7);
Tailwind
colors: {
custom: {
50: '#d2707c',
500: '#b5284a',
950: '#000000',
},
}SCSS
$custom: #b5284a; $custom-light: #d2707c; $custom-dark: #000000;
JSON
{
"hex": "#b5284a",
"rgb": {
"r": 181,
"g": 40,
"b": 74
},
"hsl": {
"h": 345.532,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.51348,
"c": 0.17628,
"h": 12.7
},
"luminance": 0.11836
}Semantic roles & 50–950 ramp
primary
#B5284A
secondary
#70C8B3
accent
#E7BF41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B