#BA4762#BA4762
#BA4762 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.0% C 0.150 H 8.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4762 |
|---|---|
| RGB | rgb(186, 71, 98) |
| HSL | hsl(346, 45%, 50%) |
| HSV | hsv(346, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 47.3%, 27.1%) |
| CIE-LAB | lab(46.75, 48.63, 8.94) |
| CIE-LCH | lch(46.75, 49.45, 10.42°) |
| OKLab | oklab(56% 0.1477 0.0232) |
| OKLCH | oklch(56% 0.15 8.9) |
| XYZ | xyz(24.7094, 15.8304, 13.3073) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.65
Deep Rose
#C74767
ΔE00 2.68
Dark Pink
#CB416B
ΔE00 3.67
Light Burgundy
#A8415B
ΔE00 4.25
Light Maroon
#A24857
ΔE00 5.16
Cherry
#DE3163
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4762 #47BA9F
analogous
#BA479C #BA4762 #BA6547
triadic
#BA4762 #62BA47 #4762BA
tetradic
#BA4762 #9CBA47 #47BA9F #6547BA
square
#BA4762 #9CBA47 #47BA9F #6547BA
split-complementary
#BA4762 #47BA65 #479CBA
monochromatic
#622533 #8E354A #BA4762 #CB7488 #DBA0AE
Accessibility & contrast
On white
5.04
#BA4762 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#BA4762 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4762
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4762 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4762 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606063
Deuteranopia (green-blind)
#7D775F
Tritanopia (blue-blind)
#CA3751
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4762; /* rgb */ color: rgb(186, 71, 98); /* oklch */ color: oklch(56.0% 0.150 8.9);
Tailwind
colors: {
custom: {
50: '#d3808e',
500: '#ba4762',
950: '#000000',
},
}SCSS
$custom: #ba4762; $custom-light: #d3808e; $custom-dark: #000000;
JSON
{
"hex": "#ba4762",
"rgb": {
"r": 186,
"g": 71,
"b": 98
},
"hsl": {
"h": 345.913,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56003,
"c": 0.14954,
"h": 8.9
},
"luminance": 0.15827
}Semantic roles & 50–950 ramp
primary
#BA4762
secondary
#95C8BC
accent
#D5B753
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D