#BA314E#BA314E
#BA314E is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.173 H 13.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA314E |
|---|---|
| RGB | rgb(186, 49, 78) |
| HSL | hsl(347, 58%, 46%) |
| HSV | hsv(347, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 58.1%, 27.1%) |
| CIE-LAB | lab(43.05, 55.82, 16.14) |
| CIE-LCH | lch(43.05, 58.11, 16.13°) |
| OKLab | oklab(53.09% 0.1682 0.04) |
| OKLCH | oklch(53.09% 0.173 13.4) |
| XYZ | xyz(22.7254, 13.1890, 8.5553) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.57
Dark Rose
#B5485D
ΔE00 4.48
Rose Red
#BE013C
ΔE00 4.54
Lipstick
#D5174E
ΔE00 4.68
Light Burgundy
#A8415B
ΔE00 5.29
Cardinal
#C41E3A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA314E #31BA9D
analogous
#BA3192 #BA314E #BA5831
triadic
#BA314E #4EBA31 #314EBA
tetradic
#BA314E #92BA31 #31BA9D #5831BA
square
#BA314E #92BA31 #31BA9D #5831BA
split-complementary
#BA314E #31BA58 #3192BA
monochromatic
#591725 #8A243A #BA314E #D25670 #DF8699
Accessibility & contrast
On white
5.77
#BA314E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA314E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA314E
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA314E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA314E | 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)
#55544E
Deuteranopia (green-blind)
#78704A
Tritanopia (blue-blind)
#CC043D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba314e; /* rgb */ color: rgb(186, 49, 78); /* oklch */ color: oklch(53.1% 0.173 13.4);
Tailwind
colors: {
custom: {
50: '#d5747f',
500: '#ba314e',
950: '#000000',
},
}SCSS
$custom: #ba314e; $custom-light: #d5747f; $custom-dark: #000000;
JSON
{
"hex": "#ba314e",
"rgb": {
"r": 186,
"g": 49,
"b": 78
},
"hsl": {
"h": 347.299,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53093,
"c": 0.17288,
"h": 13.4
},
"luminance": 0.13186
}Semantic roles & 50–950 ramp
primary
#BA314E
secondary
#7EC9B9
accent
#E2C146
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C