#BA5239#BA5239

#BA5239 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.7% C 0.140 H 34.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA5239
RGBrgb(186, 82, 57)
HSLhsl(12, 53%, 48%)
HSVhsv(12, 69%, 73%)
CMYKcmyk(0%, 55.9%, 69.4%, 27.1%)
CIE-LABlab(47.97, 40.32, 34.86)
CIE-LCHlch(47.97, 53.30, 40.84°)
OKLaboklab(56.68% 0.1154 0.0802)
OKLCHoklch(56.68% 0.14 34.8)
XYZxyz(24.0078, 16.7722, 5.8432)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5239 #39A1BA
analogous
#BA3960 #BA5239 #BA9239
triadic
#BA5239 #39BA52 #5239BA
tetradic
#BA5239 #60BA39 #39A1BA #9239BA
square
#BA5239 #60BA39 #39A1BA #9239BA
split-complementary
#BA5239 #39BA92 #3960BA
monochromatic
#5C291C #8B3D2B #BA5239 #CF7761 #DD9F90

Accessibility & contrast

On white

4.82
#BA5239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA5239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5239
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5239#FFFFFF#000000##FFFFFF
##BA52391.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6436
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#CC3D4C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5239;
/* rgb */ color: rgb(186, 82, 57);
/* oklch */ color: oklch(56.7% 0.140 34.8);
Tailwind
colors: {
  custom: {
    50: '#d58670',
    500: '#ba5239',
    950: '#000000',
  },
}
SCSS
$custom: #ba5239;
$custom-light: #d58670;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5239",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 11.628,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.14047,
    "h": 34.8
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#BA5239
secondary
#87BBC8
accent
#C0DC4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA5239

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

Preview Lab → · Contrast checker → · Palette generator →

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