#BA512A#BA512A
#BA512A is a mid, vivid orange. Relative luminance 0.165; OKLCH L 56.4% C 0.146 H 39.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA512A |
|---|---|
| RGB | rgb(186, 81, 42) |
| HSL | hsl(16, 63%, 45%) |
| HSV | hsv(16, 77%, 73%) |
| CMYK | cmyk(0%, 56.5%, 77.4%, 27.1%) |
| CIE-LAB | lab(47.62, 40.11, 42.48) |
| CIE-LCH | lch(47.62, 58.43, 46.65°) |
| OKLab | oklab(56.35% 0.1119 0.0934) |
| OKLCH | oklch(56.35% 0.146 39.8) |
| XYZ | xyz(23.6125, 16.4943, 4.1304) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Brick Orange
#C14A09
ΔE00 4.40
Rust
#B7410E
ΔE00 4.43
Burnt Sienna
#B04E0F
ΔE00 5.63
Sienna
#A0522D
ΔE00 5.68
Burnt Orange
#C04E01
ΔE00 5.75
Dark Orange
#C65102
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA512A #2A93BA
analogous
#BA2A4B #BA512A #BA992A
triadic
#BA512A #2ABA51 #512ABA
tetradic
#BA512A #4BBA2A #2A93BA #992ABA
square
#BA512A #4BBA2A #2A93BA #992ABA
split-complementary
#BA512A #2ABA99 #2A4BBA
monochromatic
#562613 #883B1F #BA512A #D6714B #E2987D
Accessibility & contrast
On white
4.89
#BA512A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#BA512A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA512A
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA512A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA512A | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#CC3949
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba512a; /* rgb */ color: rgb(186, 81, 42); /* oklch */ color: oklch(56.4% 0.146 39.8);
Tailwind
colors: {
custom: {
50: '#d68566',
500: '#ba512a',
950: '#000000',
},
}SCSS
$custom: #ba512a; $custom-light: #d68566; $custom-dark: #000000;
JSON
{
"hex": "#ba512a",
"rgb": {
"r": 186,
"g": 81,
"b": 42
},
"hsl": {
"h": 16.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.56353,
"c": 0.14578,
"h": 39.8
},
"luminance": 0.16491
}Semantic roles & 50–950 ramp
primary
#BA512A
secondary
#76B3CA
accent
#BAE642
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A