#B5314E#B5314E
#B5314E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.168 H 12.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B5314E |
|---|---|
| RGB | rgb(181, 49, 78) |
| HSL | hsl(347, 57%, 45%) |
| HSV | hsv(347, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 56.9%, 29%) |
| CIE-LAB | lab(42.11, 54.31, 14.72) |
| CIE-LCH | lch(42.11, 56.27, 15.17°) |
| OKLab | oklab(52.23% 0.1639 0.0368) |
| OKLCH | oklch(52.23% 0.168 12.6) |
| XYZ | xyz(21.5316, 12.5735, 8.4994) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.21
Light Burgundy
#A8415B
ΔE00 4.57
Dark Rose
#B5485D
ΔE00 4.61
Rose Red
#BE013C
ΔE00 4.75
Light Maroon
#A24857
ΔE00 5.26
Raspberry (survey)
#B00149
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5314E #31B598
analogous
#B53190 #B5314E #B55631
triadic
#B5314E #4EB531 #314EB5
tetradic
#B5314E #90B531 #31B598 #5631B5
square
#B5314E #90B531 #31B598 #5631B5
split-complementary
#B5314E #31B556 #3190B5
monochromatic
#551724 #852439 #B5314E #D0536E #DD8397
Accessibility & contrast
On white
5.98
#B5314E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B5314E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5314E
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5314E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5314E | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53524E
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#C60C3D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5314e; /* rgb */ color: rgb(181, 49, 78); /* oklch */ color: oklch(52.2% 0.168 12.6);
Tailwind
colors: {
custom: {
50: '#d2737f',
500: '#b5314e',
950: '#000000',
},
}SCSS
$custom: #b5314e; $custom-light: #d2737f; $custom-dark: #000000;
JSON
{
"hex": "#b5314e",
"rgb": {
"r": 181,
"g": 49,
"b": 78
},
"hsl": {
"h": 346.818,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52231,
"c": 0.168,
"h": 12.6
},
"luminance": 0.1257
}Semantic roles & 50–950 ramp
primary
#B5314E
secondary
#7BC7B6
accent
#E1BF47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C