#BA5F2D#BA5F2D

#BA5F2D is a mid, vivid orange. Relative luminance 0.188; OKLCH L 58.5% C 0.133 H 46.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA5F2D
RGBrgb(186, 95, 45)
HSLhsl(21, 61%, 45%)
HSVhsv(21, 76%, 73%)
CMYKcmyk(0%, 48.9%, 75.8%, 27.1%)
CIE-LABlab(50.47, 33.07, 43.92)
CIE-LCHlch(50.47, 54.98, 53.02°)
OKLaboklab(58.54% 0.091 0.0972)
OKLCHoklch(58.54% 0.133 46.9)
XYZxyz(24.8179, 18.8159, 4.8070)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5F2D #2D88BA
analogous
#BA2D41 #BA5F2D #BAA62D
triadic
#BA5F2D #2DBA5F #5F2DBA
tetradic
#BA5F2D #41BA2D #2D88BA #A62DBA
square
#BA5F2D #41BA2D #2D88BA #A62DBA
split-complementary
#BA5F2D #2DBAA6 #2D41BA
monochromatic
#572D15 #894621 #BA5F2D #D57F50 #E0A381

Accessibility & contrast

On white

4.41
#BA5F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA5F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5F2D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5F2D#FFFFFF#000000##000000
##BA5F2D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#796C27
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#CC4C54
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5f2d;
/* rgb */ color: rgb(186, 95, 45);
/* oklch */ color: oklch(58.5% 0.133 46.9);
Tailwind
colors: {
  custom: {
    50: '#d58e69',
    500: '#ba5f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba5f2d;
$custom-light: #d58e69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5f2d",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 21.277,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.13318,
    "h": 46.9
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#BA5F2D
secondary
#79ADC9
accent
#ABE444
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160C06
muted
#847D7A

Preview Lab

Preview with #BA5F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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