#BA542A#BA542A
#BA542A is a mid, vivid orange. Relative luminance 0.169; OKLCH L 56.8% C 0.143 H 41.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BA542A |
|---|---|
| RGB | rgb(186, 84, 42) |
| HSL | hsl(18, 63%, 45%) |
| HSV | hsv(18, 77%, 73%) |
| CMYK | cmyk(0%, 54.8%, 77.4%, 27.1%) |
| CIE-LAB | lab(48.20, 38.62, 43.07) |
| CIE-LCH | lch(48.20, 57.85, 48.12°) |
| OKLab | oklab(56.79% 0.1074 0.0947) |
| OKLCH | oklch(56.79% 0.143 41.4) |
| XYZ | xyz(23.8404, 16.9500, 4.2063) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Brick Orange
#C14A09
ΔE00 4.05
Rust
#B7410E
ΔE00 4.87
Burnt Orange
#C04E01
ΔE00 5.08
Burnt Sienna
#B04E0F
ΔE00 5.12
Dark Orange
#C65102
ΔE00 5.45
Rust Orange
#C45508
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA542A #2A90BA
analogous
#BA2A48 #BA542A #BA9C2A
triadic
#BA542A #2ABA54 #542ABA
tetradic
#BA542A #48BA2A #2A90BA #9C2ABA
square
#BA542A #48BA2A #2A90BA #9C2ABA
split-complementary
#BA542A #2ABA9C #2A48BA
monochromatic
#562713 #883D1F #BA542A #D6744B #E29A7D
Accessibility & contrast
On white
4.78
#BA542A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#BA542A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA542A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA542A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA542A | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#CC3E4B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba542a; /* rgb */ color: rgb(186, 84, 42); /* oklch */ color: oklch(56.8% 0.143 41.4);
Tailwind
colors: {
custom: {
50: '#d68766',
500: '#ba542a',
950: '#000000',
},
}SCSS
$custom: #ba542a; $custom-light: #d68766; $custom-dark: #000000;
JSON
{
"hex": "#ba542a",
"rgb": {
"r": 186,
"g": 84,
"b": 42
},
"hsl": {
"h": 17.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.56794,
"c": 0.14315,
"h": 41.4
},
"luminance": 0.16947
}Semantic roles & 50–950 ramp
primary
#BA542A
secondary
#76B1CA
accent
#B6E642
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B06
muted
#847C7A