#B5314B#B5314B
#B5314B is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.168 H 14.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B5314B |
|---|---|
| RGB | rgb(181, 49, 75) |
| HSL | hsl(348, 57%, 45%) |
| HSV | hsv(348, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 58.6%, 29%) |
| CIE-LAB | lab(42.05, 54.09, 16.51) |
| CIE-LCH | lch(42.05, 56.56, 16.97°) |
| OKLab | oklab(52.16% 0.1627 0.0408) |
| OKLCH | oklch(52.16% 0.168 14.1) |
| XYZ | xyz(21.4265, 12.5314, 7.9458) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.04
Rose Red
#BE013C
ΔE00 4.19
Dark Rose
#B5485D
ΔE00 4.97
Rouge
#AB1239
ΔE00 5.05
Light Burgundy
#A8415B
ΔE00 5.27
Cardinal
#C41E3A
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5314B #31B59B
analogous
#B5318D #B5314B #B55931
triadic
#B5314B #4BB531 #314BB5
tetradic
#B5314B #8DB531 #31B59B #5931B5
square
#B5314B #8DB531 #31B59B #5931B5
split-complementary
#B5314B #31B559 #318DB5
monochromatic
#551723 #852437 #B5314B #D0536C #DD8395
Accessibility & contrast
On white
5.99
#B5314B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B5314B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5314B
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5314B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5314B | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524B
Deuteranopia (green-blind)
#766D48
Tritanopia (blue-blind)
#C6093C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5314b; /* rgb */ color: rgb(181, 49, 75); /* oklch */ color: oklch(52.2% 0.168 14.1);
Tailwind
colors: {
custom: {
50: '#d2737d',
500: '#b5314b',
950: '#000000',
},
}SCSS
$custom: #b5314b; $custom-light: #d2737d; $custom-dark: #000000;
JSON
{
"hex": "#b5314b",
"rgb": {
"r": 181,
"g": 49,
"b": 75
},
"hsl": {
"h": 348.182,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52162,
"c": 0.16778,
"h": 14.1
},
"luminance": 0.12528
}Semantic roles & 50–950 ramp
primary
#B5314B
secondary
#7BC7B8
accent
#E1C247
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B