#B8304A#B8304A
#B8304A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.172 H 14.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B8304A |
|---|---|
| RGB | rgb(184, 48, 74) |
| HSL | hsl(349, 59%, 45%) |
| HSV | hsv(349, 74%, 72%) |
| CMYK | cmyk(0%, 73.9%, 59.8%, 27.8%) |
| CIE-LAB | lab(42.46, 55.29, 17.78) |
| CIE-LCH | lch(42.46, 58.08, 17.83°) |
| OKLab | oklab(52.57% 0.166 0.0437) |
| OKLCH | oklch(52.57% 0.172 14.7) |
| XYZ | xyz(22.0624, 12.8018, 7.7865) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.62
Rose Red
#BE013C
ΔE00 3.87
Cardinal
#C41E3A
ΔE00 4.76
Lipstick
#D5174E
ΔE00 5.04
Dark Rose
#B5485D
ΔE00 5.15
Rouge
#AB1239
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8304A #30B89E
analogous
#B8308E #B8304A #B85A30
triadic
#B8304A #4AB830 #304AB8
tetradic
#B8304A #8EB830 #30B89E #5A30B8
square
#B8304A #8EB830 #30B89E #5A30B8
split-complementary
#B8304A #30B85A #308EB8
monochromatic
#571723 #872336 #B8304A #D2536B #DF8495
Accessibility & contrast
On white
5.90
#B8304A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#B8304A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8304A
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8304A | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55524A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#C9003B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8304a; /* rgb */ color: rgb(184, 48, 74); /* oklch */ color: oklch(52.6% 0.172 14.7);
Tailwind
colors: {
custom: {
50: '#d4737c',
500: '#b8304a',
950: '#000000',
},
}SCSS
$custom: #b8304a; $custom-light: #d4737c; $custom-dark: #000000;
JSON
{
"hex": "#b8304a",
"rgb": {
"r": 184,
"g": 48,
"b": 74
},
"hsl": {
"h": 348.529,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.52565,
"c": 0.17169,
"h": 14.7
},
"luminance": 0.12799
}Semantic roles & 50–950 ramp
primary
#B8304A
secondary
#7CC8B9
accent
#E2C446
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B