#BA513F#BA513F

#BA513F is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.6% C 0.140 H 31.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA513F
RGBrgb(186, 81, 63)
HSLhsl(9, 49%, 49%)
HSVhsv(9, 66%, 73%)
CMYKcmyk(0%, 56.5%, 66.1%, 27.1%)
CIE-LABlab(47.86, 41.16, 31.33)
CIE-LCHlch(47.86, 51.73, 37.27°)
OKLaboklab(56.62% 0.1191 0.0733)
OKLCHoklch(56.62% 0.14 31.6)
XYZxyz(24.0916, 16.6859, 6.6537)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA513F #3FA8BA
analogous
#BA3F6B #BA513F #BA8F3F
triadic
#BA513F #3FBA51 #513FBA
tetradic
#BA513F #6BBA3F #3FA8BA #8F3FBA
square
#BA513F #6BBA3F #3FA8BA #8F3FBA
split-complementary
#BA513F #3FBA8F #3F6BBA
monochromatic
#5F2920 #8C3D30 #BA513F #CC786A #DCA197

Accessibility & contrast

On white

4.84
#BA513F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA513F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA513F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA513F#FFFFFF#000000##FFFFFF
##BA513F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#CC3C4D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba513f;
/* rgb */ color: rgb(186, 81, 63);
/* oklch */ color: oklch(56.6% 0.140 31.6);
Tailwind
colors: {
  custom: {
    50: '#d58574',
    500: '#ba513f',
    950: '#000000',
  },
}
SCSS
$custom: #ba513f;
$custom-light: #d58574;
$custom-dark: #000000;
JSON
{
  "hex": "#ba513f",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 63
  },
  "hsl": {
    "h": 8.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.13986,
    "h": 31.6
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#BA513F
secondary
#8DBFC8
accent
#C5D94F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA513F

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

Preview Lab → · Contrast checker → · Palette generator →

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