#BA302C#BA302C

#BA302C is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 27.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA302C
RGBrgb(186, 48, 44)
HSLhsl(2, 62%, 45%)
HSVhsv(2, 76%, 73%)
CMYKcmyk(0%, 74.2%, 76.3%, 27.1%)
CIE-LABlab(42.37, 54.31, 35.88)
CIE-LCHlch(42.37, 65.10, 33.45°)
OKLaboklab(52.41% 0.1565 0.0796)
OKLCHoklch(52.41% 0.176 27)
XYZxyz(21.7638, 12.7382, 3.6951)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA302C #2CB6BA
analogous
#BA2C6F #BA302C #BA772C
triadic
#BA302C #2CBA30 #302CBA
tetradic
#BA302C #6FBA2C #2CB6BA #772CBA
square
#BA302C #6FBA2C #2CB6BA #772CBA
split-complementary
#BA302C #2CBA77 #2C6FBA
monochromatic
#571615 #892320 #BA302C #D5524E #E18280

Accessibility & contrast

On white

5.92
#BA302C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA302C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA302C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA302C#FFFFFF#000000##FFFFFF
##BA302C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512A
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba302c;
/* rgb */ color: rgb(186, 48, 44);
/* oklch */ color: oklch(52.4% 0.176 27.0);
Tailwind
colors: {
  custom: {
    50: '#d87366',
    500: '#ba302c',
    950: '#000000',
  },
}
SCSS
$custom: #ba302c;
$custom-light: #d87366;
$custom-dark: #000000;
JSON
{
  "hex": "#ba302c",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 44
  },
  "hsl": {
    "h": 1.69,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.17555,
    "h": 27
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#BA302C
secondary
#78C7CA
accent
#E0E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA302C

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

Preview Lab → · Contrast checker → · Palette generator →

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