#BA314F#BA314F
#BA314F is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.173 H 12.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA314F |
|---|---|
| RGB | rgb(186, 49, 79) |
| HSL | hsl(347, 58%, 46%) |
| HSV | hsv(347, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 57.5%, 27.1%) |
| CIE-LAB | lab(43.07, 55.89, 15.55) |
| CIE-LCH | lch(43.07, 58.02, 15.55°) |
| OKLab | oklab(53.12% 0.1686 0.0387) |
| OKLCH | oklch(53.12% 0.173 12.9) |
| XYZ | xyz(22.7615, 13.2035, 8.7456) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.65
Dark Rose
#B5485D
ΔE00 4.36
Rose Red
#BE013C
ΔE00 4.73
Lipstick
#D5174E
ΔE00 4.73
Light Burgundy
#A8415B
ΔE00 5.08
Light Maroon
#A24857
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA314F #31BA9C
analogous
#BA3193 #BA314F #BA5731
triadic
#BA314F #4FBA31 #314FBA
tetradic
#BA314F #93BA31 #31BA9C #5731BA
square
#BA314F #93BA31 #31BA9C #5731BA
split-complementary
#BA314F #31BA57 #3193BA
monochromatic
#591726 #8A243A #BA314F #D25671 #DF869A
Accessibility & contrast
On white
5.77
#BA314F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA314F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA314F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA314F | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55544F
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#CB053D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba314f; /* rgb */ color: rgb(186, 49, 79); /* oklch */ color: oklch(53.1% 0.173 12.9);
Tailwind
colors: {
custom: {
50: '#d57480',
500: '#ba314f',
950: '#000000',
},
}SCSS
$custom: #ba314f; $custom-light: #d57480; $custom-dark: #000000;
JSON
{
"hex": "#ba314f",
"rgb": {
"r": 186,
"g": 49,
"b": 79
},
"hsl": {
"h": 346.861,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53116,
"c": 0.17296,
"h": 12.9
},
"luminance": 0.132
}Semantic roles & 50–950 ramp
primary
#BA314F
secondary
#7EC9B8
accent
#E2C046
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C