#B8304F#B8304F
#B8304F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.172 H 12.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B8304F |
|---|---|
| RGB | rgb(184, 48, 79) |
| HSL | hsl(346, 59%, 45%) |
| HSV | hsv(346, 74%, 72%) |
| CMYK | cmyk(0%, 73.9%, 57.1%, 27.8%) |
| CIE-LAB | lab(42.57, 55.64, 14.81) |
| CIE-LCH | lch(42.57, 57.58, 14.90°) |
| OKLab | oklab(52.68% 0.168 0.037) |
| OKLCH | oklch(52.68% 0.172 12.4) |
| XYZ | xyz(22.2375, 12.8719, 8.7092) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.85
Dark Rose
#B5485D
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.76
Rose Red
#BE013C
ΔE00 4.77
Lipstick
#D5174E
ΔE00 5.17
Raspberry (survey)
#B00149
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8304F #30B899
analogous
#B83093 #B8304F #B85530
triadic
#B8304F #4FB830 #304FB8
tetradic
#B8304F #93B830 #30B899 #5530B8
square
#B8304F #93B830 #30B899 #5530B8
split-complementary
#B8304F #30B855 #3093B8
monochromatic
#571725 #87233A #B8304F #D25370 #DF8498
Accessibility & contrast
On white
5.88
#B8304F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B8304F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8304F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8304F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#C9053D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8304f; /* rgb */ color: rgb(184, 48, 79); /* oklch */ color: oklch(52.7% 0.172 12.4);
Tailwind
colors: {
custom: {
50: '#d47380',
500: '#b8304f',
950: '#000000',
},
}SCSS
$custom: #b8304f; $custom-light: #d47380; $custom-dark: #000000;
JSON
{
"hex": "#b8304f",
"rgb": {
"r": 184,
"g": 48,
"b": 79
},
"hsl": {
"h": 346.324,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.52679,
"c": 0.17202,
"h": 12.4
},
"luminance": 0.12869
}Semantic roles & 50–950 ramp
primary
#B8304F
secondary
#7CC8B7
accent
#E2BE46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C