#BA2F50#BA2F50
#BA2F50 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.175 H 12.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F50 |
|---|---|
| RGB | rgb(186, 47, 80) |
| HSL | hsl(346, 60%, 46%) |
| HSV | hsv(346, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 57%, 27.1%) |
| CIE-LAB | lab(42.85, 56.65, 14.62) |
| CIE-LCH | lch(42.85, 58.50, 14.47°) |
| OKLab | oklab(52.96% 0.1712 0.0365) |
| OKLCH | oklch(52.96% 0.175 12) |
| XYZ | xyz(22.7164, 13.0546, 8.9115) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.67
Dark Rose
#B5485D
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.86
Rose Red
#BE013C
ΔE00 4.88
Lipstick
#D5174E
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F50 #2FBA99
analogous
#BA2F96 #BA2F50 #BA532F
triadic
#BA2F50 #50BA2F #2F50BA
tetradic
#BA2F50 #96BA2F #2FBA99 #532FBA
square
#BA2F50 #96BA2F #2FBA99 #532FBA
split-complementary
#BA2F50 #2FBA53 #2F96BA
monochromatic
#581626 #89233B #BA2F50 #D35371 #E08499
Accessibility & contrast
On white
5.82
#BA2F50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA2F50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F50
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F50 | 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)
#545350
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2f50; /* rgb */ color: rgb(186, 47, 80); /* oklch */ color: oklch(53.0% 0.175 12.0);
Tailwind
colors: {
custom: {
50: '#d57380',
500: '#ba2f50',
950: '#000000',
},
}SCSS
$custom: #ba2f50; $custom-light: #d57380; $custom-dark: #000000;
JSON
{
"hex": "#ba2f50",
"rgb": {
"r": 186,
"g": 47,
"b": 80
},
"hsl": {
"h": 345.755,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.52958,
"c": 0.17502,
"h": 12
},
"luminance": 0.13051
}Semantic roles & 50–950 ramp
primary
#BA2F50
secondary
#7CC9B7
accent
#E3BD45
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C