#B7314F#B7314F
#B7314F is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.170 H 12.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B7314F |
|---|---|
| RGB | rgb(183, 49, 79) |
| HSL | hsl(347, 58%, 45%) |
| HSV | hsv(347, 73%, 72%) |
| CMYK | cmyk(0%, 73.2%, 56.8%, 28.2%) |
| CIE-LAB | lab(42.51, 54.99, 14.70) |
| CIE-LCH | lch(42.51, 56.92, 14.96°) |
| OKLab | oklab(52.6% 0.166 0.0367) |
| OKLCH | oklch(52.6% 0.17 12.5) |
| XYZ | xyz(22.0401, 12.8315, 8.7118) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.02
Dark Rose
#B5485D
ΔE00 4.43
Light Burgundy
#A8415B
ΔE00 4.63
Rose Red
#BE013C
ΔE00 4.84
Lipstick
#D5174E
ΔE00 5.34
Light Maroon
#A24857
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7314F #31B799
analogous
#B73192 #B7314F #B75631
triadic
#B7314F #4FB731 #314FB7
tetradic
#B7314F #92B731 #31B799 #5631B7
square
#B7314F #92B731 #31B799 #5631B7
split-complementary
#B7314F #31B756 #3192B7
monochromatic
#561725 #87243A #B7314F #D15470 #DE8498
Accessibility & contrast
On white
5.89
#B7314F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B7314F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7314F
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7314F | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#C80A3D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b7314f; /* rgb */ color: rgb(183, 49, 79); /* oklch */ color: oklch(52.6% 0.170 12.5);
Tailwind
colors: {
custom: {
50: '#d37480',
500: '#b7314f',
950: '#000000',
},
}SCSS
$custom: #b7314f; $custom-light: #d37480; $custom-dark: #000000;
JSON
{
"hex": "#b7314f",
"rgb": {
"r": 183,
"g": 49,
"b": 79
},
"hsl": {
"h": 346.567,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.52599,
"c": 0.17004,
"h": 12.5
},
"luminance": 0.12828
}Semantic roles & 50–950 ramp
primary
#B7314F
secondary
#7CC8B7
accent
#E1BE47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C