#BA512F#BA512F

#BA512F is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.4% C 0.144 H 38.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA512F
RGBrgb(186, 81, 47)
HSLhsl(15, 60%, 46%)
HSVhsv(15, 75%, 73%)
CMYKcmyk(0%, 56.5%, 74.7%, 27.1%)
CIE-LABlab(47.67, 40.32, 39.95)
CIE-LCHlch(47.67, 56.76, 44.74°)
OKLaboklab(56.41% 0.1135 0.0892)
OKLCHoklch(56.41% 0.144 38.2)
XYZxyz(23.7076, 16.5323, 4.6314)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA512F #2F98BA
analogous
#BA2F52 #BA512F #BA962F
triadic
#BA512F #2FBA51 #512FBA
tetradic
#BA512F #52BA2F #2F98BA #962FBA
square
#BA512F #52BA2F #2F98BA #962FBA
split-complementary
#BA512F #2FBA96 #2F52BA
monochromatic
#582616 #893C23 #BA512F #D37253 #E09A84

Accessibility & contrast

On white

4.88
#BA512F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA512F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA512F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA512F#FFFFFF#000000##FFFFFF
##BA512F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632B
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#CC3A4A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba512f;
/* rgb */ color: rgb(186, 81, 47);
/* oklch */ color: oklch(56.4% 0.144 38.2);
Tailwind
colors: {
  custom: {
    50: '#d68569',
    500: '#ba512f',
    950: '#000000',
  },
}
SCSS
$custom: #ba512f;
$custom-light: #d68569;
$custom-dark: #000000;
JSON
{
  "hex": "#ba512f",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 14.676,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.14434,
    "h": 38.2
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#BA512F
secondary
#7CB6C9
accent
#BCE345
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA512F

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

Preview Lab → · Contrast checker → · Palette generator →

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