#BA334F#BA334F
#BA334F is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.3% C 0.171 H 13.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA334F |
|---|---|
| RGB | rgb(186, 51, 79) |
| HSL | hsl(348, 57%, 46%) |
| HSV | hsv(348, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 57.5%, 27.1%) |
| CIE-LAB | lab(43.32, 55.19, 15.89) |
| CIE-LCH | lch(43.32, 57.43, 16.07°) |
| OKLab | oklab(53.31% 0.1663 0.0395) |
| OKLCH | oklch(53.31% 0.171 13.4) |
| XYZ | xyz(22.8470, 13.3745, 8.7741) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.79
Dark Rose
#B5485D
ΔE00 4.18
Lipstick
#D5174E
ΔE00 4.69
Rose Red
#BE013C
ΔE00 4.83
Light Burgundy
#A8415B
ΔE00 5.15
Dusty Red
#B9484E
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA334F #33BA9E
analogous
#BA3393 #BA334F #BA5B33
triadic
#BA334F #4FBA33 #334FBA
tetradic
#BA334F #93BA33 #33BA9E #5B33BA
square
#BA334F #93BA33 #33BA9E #5B33BA
split-complementary
#BA334F #33BA5B #3393BA
monochromatic
#5A1926 #8A263B #BA334F #D15972 #DF899B
Accessibility & contrast
On white
5.72
#BA334F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA334F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA334F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA334F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA334F | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56554F
Deuteranopia (green-blind)
#79704C
Tritanopia (blue-blind)
#CB0D3F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba334f; /* rgb */ color: rgb(186, 51, 79); /* oklch */ color: oklch(53.3% 0.171 13.4);
Tailwind
colors: {
custom: {
50: '#d57580',
500: '#ba334f',
950: '#000000',
},
}SCSS
$custom: #ba334f; $custom-light: #d57580; $custom-dark: #000000;
JSON
{
"hex": "#ba334f",
"rgb": {
"r": 186,
"g": 51,
"b": 79
},
"hsl": {
"h": 347.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53305,
"c": 0.17094,
"h": 13.4
},
"luminance": 0.13371
}Semantic roles & 50–950 ramp
primary
#BA334F
secondary
#80C9BA
accent
#E0C148
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C