#BA334A#BA334A
#BA334A is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.171 H 15.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA334A |
|---|---|
| RGB | rgb(186, 51, 74) |
| HSL | hsl(350, 57%, 46%) |
| HSV | hsv(350, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 60.2%, 27.1%) |
| CIE-LAB | lab(43.22, 54.84, 18.86) |
| CIE-LCH | lch(43.22, 57.99, 18.98°) |
| OKLab | oklab(53.19% 0.1643 0.0462) |
| OKLCH | oklch(53.19% 0.171 15.7) |
| XYZ | xyz(22.6718, 13.3044, 7.8514) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.82
Rose Red
#BE013C
ΔE00 4.18
Cardinal
#C41E3A
ΔE00 4.29
Dusty Red
#B9484E
ΔE00 4.52
Lipstick
#D5174E
ΔE00 4.75
Dark Rose
#B5485D
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA334A #33BAA3
analogous
#BA338E #BA334A #BA6033
triadic
#BA334A #4ABA33 #334ABA
tetradic
#BA334A #8EBA33 #33BAA3 #6033BA
square
#BA334A #8EBA33 #33BAA3 #6033BA
split-complementary
#BA334A #33BA60 #338EBA
monochromatic
#5A1924 #8A2637 #BA334A #D1596D #DF8997
Accessibility & contrast
On white
5.74
#BA334A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#BA334A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA334A
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA334A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA334A | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57544A
Deuteranopia (green-blind)
#7A7046
Tritanopia (blue-blind)
#CC083D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba334a; /* rgb */ color: rgb(186, 51, 74); /* oklch */ color: oklch(53.2% 0.171 15.7);
Tailwind
colors: {
custom: {
50: '#d6757c',
500: '#ba334a',
950: '#000000',
},
}SCSS
$custom: #ba334a; $custom-light: #d6757c; $custom-dark: #000000;
JSON
{
"hex": "#ba334a",
"rgb": {
"r": 186,
"g": 51,
"b": 74
},
"hsl": {
"h": 349.778,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53194,
"c": 0.1707,
"h": 15.7
},
"luminance": 0.13301
}Semantic roles & 50–950 ramp
primary
#BA334A
secondary
#80C9BC
accent
#E0C648
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B