#BA334E#BA334E
#BA334E is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.3% C 0.171 H 13.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA334E |
|---|---|
| RGB | rgb(186, 51, 78) |
| HSL | hsl(348, 57%, 46%) |
| HSV | hsv(348, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 58.1%, 27.1%) |
| CIE-LAB | lab(43.30, 55.11, 16.49) |
| CIE-LCH | lch(43.30, 57.53, 16.65°) |
| OKLab | oklab(53.28% 0.1659 0.0409) |
| OKLCH | oklch(53.28% 0.171 13.8) |
| XYZ | xyz(22.8109, 13.3600, 8.5838) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.74
Dark Rose
#B5485D
ΔE00 4.32
Lipstick
#D5174E
ΔE00 4.66
Rose Red
#BE013C
ΔE00 4.66
Dusty Red
#B9484E
ΔE00 5.23
Light Burgundy
#A8415B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA334E #33BA9F
analogous
#BA3392 #BA334E #BA5C33
triadic
#BA334E #4EBA33 #334EBA
tetradic
#BA334E #92BA33 #33BA9F #5C33BA
square
#BA334E #92BA33 #33BA9F #5C33BA
split-complementary
#BA334E #33BA5C #3392BA
monochromatic
#5A1926 #8A263A #BA334E #D15971 #DF899A
Accessibility & contrast
On white
5.72
#BA334E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA334E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA334E
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA334E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA334E | 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)
#56554E
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#CB0C3E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba334e; /* rgb */ color: rgb(186, 51, 78); /* oklch */ color: oklch(53.3% 0.171 13.8);
Tailwind
colors: {
custom: {
50: '#d5757f',
500: '#ba334e',
950: '#000000',
},
}SCSS
$custom: #ba334e; $custom-light: #d5757f; $custom-dark: #000000;
JSON
{
"hex": "#ba334e",
"rgb": {
"r": 186,
"g": 51,
"b": 78
},
"hsl": {
"h": 348,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53282,
"c": 0.17087,
"h": 13.8
},
"luminance": 0.13357
}Semantic roles & 50–950 ramp
primary
#BA334E
secondary
#80C9BA
accent
#E0C248
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C