#B5313F#B5313F
#B5313F is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.168 H 19.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B5313F |
|---|---|
| RGB | rgb(181, 49, 63) |
| HSL | hsl(354, 57%, 45%) |
| HSV | hsv(354, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 65.2%, 29%) |
| CIE-LAB | lab(41.82, 53.32, 23.65) |
| CIE-LCH | lch(41.82, 58.33, 23.92°) |
| OKLab | oklab(51.92% 0.158 0.0563) |
| OKLCH | oklch(51.92% 0.168 19.6) |
| XYZ | xyz(21.0538, 12.3824, 5.9831) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.90
Rose Red
#BE013C
ΔE00 4.09
Lipstick Red
#C0022F
ΔE00 4.16
Dull Red
#BB3F3F
ΔE00 4.18
Dusty Red
#B9484E
ΔE00 4.78
Cherry (survey)
#CF0234
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5313F #31B5A7
analogous
#B53181 #B5313F #B56531
triadic
#B5313F #3FB531 #313FB5
tetradic
#B5313F #81B531 #31B5A7 #6531B5
square
#B5313F #81B531 #31B5A7 #6531B5
split-complementary
#B5313F #31B565 #3181B5
monochromatic
#55171D #85242E #B5313F #D05360 #DD838D
Accessibility & contrast
On white
6.04
#B5313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B5313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5313F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5313F | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#776D3B
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5313f; /* rgb */ color: rgb(181, 49, 63); /* oklch */ color: oklch(51.9% 0.168 19.6);
Tailwind
colors: {
custom: {
50: '#d37374',
500: '#b5313f',
950: '#000000',
},
}SCSS
$custom: #b5313f; $custom-light: #d37374; $custom-dark: #000000;
JSON
{
"hex": "#b5313f",
"rgb": {
"r": 181,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.636,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.51915,
"c": 0.16773,
"h": 19.6
},
"luminance": 0.12379
}Semantic roles & 50–950 ramp
primary
#B5313F
secondary
#7BC7BF
accent
#E1D047
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B