#BA2F4B#BA2F4B
#BA2F4B is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.175 H 14.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F4B |
|---|---|
| RGB | rgb(186, 47, 75) |
| HSL | hsl(348, 60%, 46%) |
| HSV | hsv(348, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.74, 56.30, 17.59) |
| CIE-LCH | lch(42.74, 58.98, 17.36°) |
| OKLab | oklab(52.84% 0.1692 0.0433) |
| OKLCH | oklch(52.84% 0.175 14.4) |
| XYZ | xyz(22.5385, 12.9834, 7.9745) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.33
Rose Red
#BE013C
ΔE00 3.92
Lipstick
#D5174E
ΔE00 4.67
Cardinal
#C41E3A
ΔE00 4.85
Dark Rose
#B5485D
ΔE00 5.06
Rouge
#AB1239
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F4B #2FBA9E
analogous
#BA2F90 #BA2F4B #BA592F
triadic
#BA2F4B #4BBA2F #2F4BBA
tetradic
#BA2F4B #90BA2F #2FBA9E #592FBA
square
#BA2F4B #90BA2F #2FBA9E #592FBA
split-complementary
#BA2F4B #2FBA59 #2F90BA
monochromatic
#581624 #892337 #BA2F4B #D3536D #E08496
Accessibility & contrast
On white
5.84
#BA2F4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2F4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F4B
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F4B | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55534B
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2f4b; /* rgb */ color: rgb(186, 47, 75); /* oklch */ color: oklch(52.8% 0.175 14.4);
Tailwind
colors: {
custom: {
50: '#d6737d',
500: '#ba2f4b',
950: '#000000',
},
}SCSS
$custom: #ba2f4b; $custom-light: #d6737d; $custom-dark: #000000;
JSON
{
"hex": "#ba2f4b",
"rgb": {
"r": 186,
"g": 47,
"b": 75
},
"hsl": {
"h": 347.914,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.52844,
"c": 0.17465,
"h": 14.4
},
"luminance": 0.1298
}Semantic roles & 50–950 ramp
primary
#BA2F4B
secondary
#7CC9B9
accent
#E3C345
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B