#BA3037#BA3037

#BA3037 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 23.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA3037
RGBrgb(186, 48, 55)
HSLhsl(357, 59%, 46%)
HSVhsv(357, 74%, 73%)
CMYKcmyk(0%, 74.2%, 70.4%, 27.1%)
CIE-LABlab(42.51, 54.79, 29.58)
CIE-LCHlch(42.51, 62.27, 28.36°)
OKLaboklab(52.56% 0.1604 0.0682)
OKLCHoklch(52.56% 0.174 23.1)
XYZxyz(21.9987, 12.8322, 4.9322)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3037 #30BAB3
analogous
#BA307C #BA3037 #BA6E30
triadic
#BA3037 #37BA30 #3037BA
tetradic
#BA3037 #7CBA30 #30BAB3 #6E30BA
square
#BA3037 #7CBA30 #30BAB3 #6E30BA
split-complementary
#BA3037 #30BA6E #307CBA
monochromatic
#59171A #892329 #BA3037 #D3545B #DF858A

Accessibility & contrast

On white

5.89
#BA3037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA3037 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3037
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3037#FFFFFF#000000##FFFFFF
##BA30371.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3037;
/* rgb */ color: rgb(186, 48, 55);
/* oklch */ color: oklch(52.6% 0.174 23.1);
Tailwind
colors: {
  custom: {
    50: '#d7736e',
    500: '#ba3037',
    950: '#000000',
  },
}
SCSS
$custom: #ba3037;
$custom-light: #d7736e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3037",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 55
  },
  "hsl": {
    "h": 356.957,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.17427,
    "h": 23.1
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#BA3037
secondary
#7DC9C5
accent
#E2DA46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3037

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

Preview Lab → · Contrast checker → · Palette generator →

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