#BA334B#BA334B
#BA334B is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.171 H 15.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BA334B |
|---|---|
| RGB | rgb(186, 51, 75) |
| HSL | hsl(349, 57%, 46%) |
| HSV | hsv(349, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 59.7%, 27.1%) |
| CIE-LAB | lab(43.24, 54.91, 18.26) |
| CIE-LCH | lch(43.24, 57.86, 18.40°) |
| OKLab | oklab(53.22% 0.1647 0.0449) |
| OKLCH | oklch(53.22% 0.171 15.2) |
| XYZ | xyz(22.7058, 13.3180, 8.0303) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.75
Rose Red
#BE013C
ΔE00 4.27
Cardinal
#C41E3A
ΔE00 4.56
Dusty Red
#B9484E
ΔE00 4.68
Lipstick
#D5174E
ΔE00 4.70
Dark Rose
#B5485D
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA334B #33BAA2
analogous
#BA338F #BA334B #BA5F33
triadic
#BA334B #4BBA33 #334BBA
tetradic
#BA334B #8FBA33 #33BAA2 #5F33BA
square
#BA334B #8FBA33 #33BAA2 #5F33BA
split-complementary
#BA334B #33BA5F #338FBA
monochromatic
#5A1924 #8A2638 #BA334B #D1596E #DF8998
Accessibility & contrast
On white
5.73
#BA334B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#BA334B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA334B
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA334B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA334B | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57544B
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#CC093D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba334b; /* rgb */ color: rgb(186, 51, 75); /* oklch */ color: oklch(53.2% 0.171 15.2);
Tailwind
colors: {
custom: {
50: '#d6757d',
500: '#ba334b',
950: '#000000',
},
}SCSS
$custom: #ba334b; $custom-light: #d6757d; $custom-dark: #000000;
JSON
{
"hex": "#ba334b",
"rgb": {
"r": 186,
"g": 51,
"b": 75
},
"hsl": {
"h": 349.333,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53215,
"c": 0.17073,
"h": 15.2
},
"luminance": 0.13315
}Semantic roles & 50–950 ramp
primary
#BA334B
secondary
#80C9BC
accent
#E0C548
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B