#BA4F27#BA4F27

#BA4F27 is a mid, vivid orange. Relative luminance 0.162; OKLCH L 56.0% C 0.148 H 39.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4F27
RGBrgb(186, 79, 39)
HSLhsl(16, 65%, 44%)
HSVhsv(16, 79%, 73%)
CMYKcmyk(0%, 57.5%, 79%, 27.1%)
CIE-LABlab(47.21, 40.98, 43.57)
CIE-LCHlch(47.21, 59.81, 46.76°)
OKLaboklab(56.04% 0.1141 0.0949)
OKLCHoklch(56.04% 0.148 39.8)
XYZxyz(23.4143, 16.1807, 3.8093)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F27 #2792BA
analogous
#BA2748 #BA4F27 #BA9927
triadic
#BA4F27 #27BA4F #4F27BA
tetradic
#BA4F27 #48BA27 #2792BA #9927BA
square
#BA4F27 #48BA27 #2792BA #9927BA
split-complementary
#BA4F27 #27BA99 #2748BA
monochromatic
#552412 #873A1C #BA4F27 #D86E46 #E39579

Accessibility & contrast

On white

4.96
#BA4F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F27
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F27#FFFFFF#000000##FFFFFF
##BA4F271.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6122
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#CC3647
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f27;
/* rgb */ color: rgb(186, 79, 39);
/* oklch */ color: oklch(56.0% 0.148 39.8);
Tailwind
colors: {
  custom: {
    50: '#d68364',
    500: '#ba4f27',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f27;
$custom-light: #d68364;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f27",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 39
  },
  "hsl": {
    "h": 16.327,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.14841,
    "h": 39.8
  },
  "luminance": 0.16178
}

Semantic roles & 50–950 ramp

primary
#BA4F27
secondary
#72B3CB
accent
#BAE840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA4F27

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA4F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva