#B5304C#B5304C
#B5304C is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.169 H 13.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B5304C |
|---|---|
| RGB | rgb(181, 48, 76) |
| HSL | hsl(347, 58%, 45%) |
| HSV | hsv(347, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 58%, 29%) |
| CIE-LAB | lab(41.94, 54.52, 15.74) |
| CIE-LCH | lch(41.94, 56.75, 16.10°) |
| OKLab | oklab(52.09% 0.1643 0.0391) |
| OKLCH | oklch(52.09% 0.169 13.4) |
| XYZ | xyz(21.4196, 12.4625, 8.1137) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.02
Rose Red
#BE013C
ΔE00 4.32
Dark Rose
#B5485D
ΔE00 4.93
Light Burgundy
#A8415B
ΔE00 5.01
Rouge
#AB1239
ΔE00 5.08
Raspberry (survey)
#B00149
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5304C #30B599
analogous
#B5308F #B5304C #B55630
triadic
#B5304C #4CB530 #304CB5
tetradic
#B5304C #8FB530 #30B599 #5630B5
square
#B5304C #8FB530 #30B599 #5630B5
split-complementary
#B5304C #30B556 #308FB5
monochromatic
#541623 #852338 #B5304C #D1516C #DE8295
Accessibility & contrast
On white
6.01
#B5304C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B5304C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5304C
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5304C | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53514C
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#C6063C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5304c; /* rgb */ color: rgb(181, 48, 76); /* oklch */ color: oklch(52.1% 0.169 13.4);
Tailwind
colors: {
custom: {
50: '#d2737d',
500: '#b5304c',
950: '#000000',
},
}SCSS
$custom: #b5304c; $custom-light: #d2737d; $custom-dark: #000000;
JSON
{
"hex": "#b5304c",
"rgb": {
"r": 181,
"g": 48,
"b": 76
},
"hsl": {
"h": 347.368,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.5209,
"c": 0.16886,
"h": 13.4
},
"luminance": 0.12459
}Semantic roles & 50–950 ramp
primary
#B5304C
secondary
#7AC7B7
accent
#E1C146
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B