#BA2F4F#BA2F4F
#BA2F4F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 12.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F4F |
|---|---|
| RGB | rgb(186, 47, 79) |
| HSL | hsl(346, 60%, 46%) |
| HSV | hsv(346, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 57.5%, 27.1%) |
| CIE-LAB | lab(42.82, 56.58, 15.22) |
| CIE-LCH | lch(42.82, 58.59, 15.05°) |
| OKLab | oklab(52.94% 0.1708 0.0379) |
| OKLCH | oklch(52.94% 0.175 12.5) |
| XYZ | xyz(22.6797, 13.0399, 8.7183) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.55
Dark Rose
#B5485D
ΔE00 4.57
Rose Red
#BE013C
ΔE00 4.66
Lipstick
#D5174E
ΔE00 4.80
Light Burgundy
#A8415B
ΔE00 5.04
Raspberry (survey)
#B00149
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F4F #2FBA9A
analogous
#BA2F94 #BA2F4F #BA542F
triadic
#BA2F4F #4FBA2F #2F4FBA
tetradic
#BA2F4F #94BA2F #2FBA9A #542FBA
square
#BA2F4F #94BA2F #2FBA9A #542FBA
split-complementary
#BA2F4F #2FBA54 #2F94BA
monochromatic
#581625 #89233A #BA2F4F #D35370 #E08499
Accessibility & contrast
On white
5.82
#BA2F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA2F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F4F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F4F | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#786F4B
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2f4f; /* rgb */ color: rgb(186, 47, 79); /* oklch */ color: oklch(52.9% 0.175 12.5);
Tailwind
colors: {
custom: {
50: '#d57380',
500: '#ba2f4f',
950: '#000000',
},
}SCSS
$custom: #ba2f4f; $custom-light: #d57380; $custom-dark: #000000;
JSON
{
"hex": "#ba2f4f",
"rgb": {
"r": 186,
"g": 47,
"b": 79
},
"hsl": {
"h": 346.187,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.52935,
"c": 0.17493,
"h": 12.5
},
"luminance": 0.13037
}Semantic roles & 50–950 ramp
primary
#BA2F4F
secondary
#7CC9B7
accent
#E3BE45
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C