#BA3051#BA3051
#BA3051 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.174 H 11.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3051 |
|---|---|
| RGB | rgb(186, 48, 81) |
| HSL | hsl(346, 59%, 46%) |
| HSV | hsv(346, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 56.5%, 27.1%) |
| CIE-LAB | lab(42.99, 56.38, 14.19) |
| CIE-LCH | lch(42.99, 58.14, 14.13°) |
| OKLab | oklab(53.07% 0.1705 0.0356) |
| OKLCH | oklch(53.07% 0.174 11.8) |
| XYZ | xyz(22.7940, 13.1503, 9.1210) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.84
Dark Rose
#B5485D
ΔE00 4.30
Light Burgundy
#A8415B
ΔE00 4.69
Lipstick
#D5174E
ΔE00 4.94
Rose Red
#BE013C
ΔE00 5.12
Purplish Red
#B0054B
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3051 #30BA99
analogous
#BA3096 #BA3051 #BA5430
triadic
#BA3051 #51BA30 #3051BA
tetradic
#BA3051 #96BA30 #30BA99 #5430BA
square
#BA3051 #96BA30 #30BA99 #5430BA
split-complementary
#BA3051 #30BA54 #3096BA
monochromatic
#591727 #89233C #BA3051 #D35473 #DF859B
Accessibility & contrast
On white
5.79
#BA3051 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#BA3051 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3051
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3051 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3051 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545451
Deuteranopia (green-blind)
#78704D
Tritanopia (blue-blind)
#CB043E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3051; /* rgb */ color: rgb(186, 48, 81); /* oklch */ color: oklch(53.1% 0.174 11.8);
Tailwind
colors: {
custom: {
50: '#d57481',
500: '#ba3051',
950: '#000000',
},
}SCSS
$custom: #ba3051; $custom-light: #d57481; $custom-dark: #000000;
JSON
{
"hex": "#ba3051",
"rgb": {
"r": 186,
"g": 48,
"b": 81
},
"hsl": {
"h": 345.652,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53072,
"c": 0.17414,
"h": 11.8
},
"luminance": 0.13147
}Semantic roles & 50–950 ramp
primary
#BA3051
secondary
#7DC9B7
accent
#E2BD46
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C