#BA334C#BA334C
#BA334C is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.171 H 14.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BA334C |
|---|---|
| RGB | rgb(186, 51, 76) |
| HSL | hsl(349, 57%, 46%) |
| HSV | hsv(349, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 59.1%, 27.1%) |
| CIE-LAB | lab(43.26, 54.97, 17.67) |
| CIE-LCH | lch(43.26, 57.74, 17.82°) |
| OKLab | oklab(53.24% 0.1651 0.0435) |
| OKLCH | oklch(53.24% 0.171 14.8) |
| XYZ | xyz(22.7403, 13.3318, 8.2119) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.72
Rose Red
#BE013C
ΔE00 4.38
Dark Rose
#B5485D
ΔE00 4.65
Lipstick
#D5174E
ΔE00 4.66
Cardinal
#C41E3A
ΔE00 4.84
Dusty Red
#B9484E
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA334C #33BAA1
analogous
#BA3390 #BA334C #BA5E33
triadic
#BA334C #4CBA33 #334CBA
tetradic
#BA334C #90BA33 #33BAA1 #5E33BA
square
#BA334C #90BA33 #33BAA1 #5E33BA
split-complementary
#BA334C #33BA5E #3390BA
monochromatic
#5A1925 #8A2638 #BA334C #D1596F #DF8999
Accessibility & contrast
On white
5.73
#BA334C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA334C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA334C
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA334C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA334C | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57544C
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#CC0A3D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba334c; /* rgb */ color: rgb(186, 51, 76); /* oklch */ color: oklch(53.2% 0.171 14.8);
Tailwind
colors: {
custom: {
50: '#d5757d',
500: '#ba334c',
950: '#000000',
},
}SCSS
$custom: #ba334c; $custom-light: #d5757d; $custom-dark: #000000;
JSON
{
"hex": "#ba334c",
"rgb": {
"r": 186,
"g": 51,
"b": 76
},
"hsl": {
"h": 348.889,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53237,
"c": 0.17077,
"h": 14.8
},
"luminance": 0.13329
}Semantic roles & 50–950 ramp
primary
#BA334C
secondary
#80C9BB
accent
#E0C448
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B