#BA3148#BA3148
#BA3148 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 16.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3148 |
|---|---|
| RGB | rgb(186, 49, 72) |
| HSL | hsl(350, 58%, 46%) |
| HSV | hsv(350, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 61.3%, 27.1%) |
| CIE-LAB | lab(42.92, 55.41, 19.70) |
| CIE-LCH | lch(42.92, 58.81, 19.58°) |
| OKLab | oklab(52.96% 0.1658 0.048) |
| OKLCH | oklch(52.96% 0.173 16.1) |
| XYZ | xyz(22.5200, 13.1069, 7.4737) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.73
Rose Red
#BE013C
ΔE00 3.80
Cardinal
#C41E3A
ΔE00 3.87
Dusty Red
#B9484E
ΔE00 4.65
Lipstick
#D5174E
ΔE00 4.85
Dark Rose
#B5485D
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3148 #31BAA3
analogous
#BA318C #BA3148 #BA5E31
triadic
#BA3148 #48BA31 #3148BA
tetradic
#BA3148 #8CBA31 #31BAA3 #5E31BA
square
#BA3148 #8CBA31 #31BAA3 #5E31BA
split-complementary
#BA3148 #31BA5E #318CBA
monochromatic
#591722 #8A2435 #BA3148 #D2566B #DF8695
Accessibility & contrast
On white
5.80
#BA3148 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA3148 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3148
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3148 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565348
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3148; /* rgb */ color: rgb(186, 49, 72); /* oklch */ color: oklch(53.0% 0.173 16.1);
Tailwind
colors: {
custom: {
50: '#d6747a',
500: '#ba3148',
950: '#000000',
},
}SCSS
$custom: #ba3148; $custom-light: #d6747a; $custom-dark: #000000;
JSON
{
"hex": "#ba3148",
"rgb": {
"r": 186,
"g": 49,
"b": 72
},
"hsl": {
"h": 349.927,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52962,
"c": 0.17263,
"h": 16.1
},
"luminance": 0.13104
}Semantic roles & 50–950 ramp
primary
#BA3148
secondary
#7EC9BC
accent
#E2C746
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B