#B5304A#B5304A
#B5304A is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.169 H 14.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B5304A |
|---|---|
| RGB | rgb(181, 48, 74) |
| HSL | hsl(348, 58%, 45%) |
| HSV | hsv(348, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 59.1%, 29%) |
| CIE-LAB | lab(41.90, 54.38, 16.93) |
| CIE-LCH | lch(41.90, 56.95, 17.29°) |
| OKLab | oklab(52.04% 0.1635 0.0418) |
| OKLCH | oklch(52.04% 0.169 14.3) |
| XYZ | xyz(21.3511, 12.4351, 7.7532) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.97
Rose Red
#BE013C
ΔE00 3.97
Rouge
#AB1239
ΔE00 4.85
Dark Rose
#B5485D
ΔE00 5.20
Cardinal
#C41E3A
ΔE00 5.22
Light Burgundy
#A8415B
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5304A #30B59B
analogous
#B5308C #B5304A #B55930
triadic
#B5304A #4AB530 #304AB5
tetradic
#B5304A #8CB530 #30B59B #5930B5
square
#B5304A #8CB530 #30B59B #5930B5
split-complementary
#B5304A #30B559 #308CB5
monochromatic
#541622 #852336 #B5304A #D1516A #DE8294
Accessibility & contrast
On white
6.02
#B5304A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B5304A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5304A
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5304A | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#C6053B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5304a; /* rgb */ color: rgb(181, 48, 74); /* oklch */ color: oklch(52.0% 0.169 14.3);
Tailwind
colors: {
custom: {
50: '#d2737c',
500: '#b5304a',
950: '#000000',
},
}SCSS
$custom: #b5304a; $custom-light: #d2737c; $custom-dark: #000000;
JSON
{
"hex": "#b5304a",
"rgb": {
"r": 181,
"g": 48,
"b": 74
},
"hsl": {
"h": 348.271,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52044,
"c": 0.16874,
"h": 14.3
},
"luminance": 0.12432
}Semantic roles & 50–950 ramp
primary
#B5304A
secondary
#7AC7B8
accent
#E1C346
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B