#BA5127#BA5127

#BA5127 is a mid, vivid orange. Relative luminance 0.165; OKLCH L 56.3% C 0.147 H 40.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5127
RGBrgb(186, 81, 39)
HSLhsl(17, 65%, 44%)
HSVhsv(17, 79%, 73%)
CMYKcmyk(0%, 56.5%, 79%, 27.1%)
CIE-LABlab(47.59, 40.00, 43.95)
CIE-LCHlch(47.59, 59.42, 47.70°)
OKLaboklab(56.32% 0.1111 0.0957)
OKLCHoklch(56.32% 0.147 40.8)
XYZxyz(23.5608, 16.4736, 3.8581)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5127 #2790BA
analogous
#BA2747 #BA5127 #BA9B27
triadic
#BA5127 #27BA51 #5127BA
tetradic
#BA5127 #47BA27 #2790BA #9B27BA
square
#BA5127 #47BA27 #2790BA #9B27BA
split-complementary
#BA5127 #27BA9B #2747BA
monochromatic
#552512 #873B1C #BA5127 #D87046 #E39779

Accessibility & contrast

On white

4.89
#BA5127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA5127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5127
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5127#FFFFFF#000000##FFFFFF
##BA51271.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#CC3948
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5127;
/* rgb */ color: rgb(186, 81, 39);
/* oklch */ color: oklch(56.3% 0.147 40.8);
Tailwind
colors: {
  custom: {
    50: '#d68564',
    500: '#ba5127',
    950: '#000000',
  },
}
SCSS
$custom: #ba5127;
$custom-light: #d68564;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5127",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 17.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.14664,
    "h": 40.8
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#BA5127
secondary
#72B1CB
accent
#B8E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA5127

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

Preview Lab → · Contrast checker → · Palette generator →

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