#BA302E#BA302E

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

Color values

HEX#BA302E
RGBrgb(186, 48, 46)
HSLhsl(1, 60%, 45%)
HSVhsv(1, 75%, 73%)
CMYKcmyk(0%, 74.2%, 75.3%, 27.1%)
CIE-LABlab(42.39, 54.39, 34.76)
CIE-LCHlch(42.39, 64.55, 32.58°)
OKLaboklab(52.43% 0.1571 0.0777)
OKLCHoklch(52.43% 0.175 26.3)
XYZxyz(21.8023, 12.7536, 3.8979)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA302E #2EB8BA
analogous
#BA2E72 #BA302E #BA762E
triadic
#BA302E #2EBA30 #302EBA
tetradic
#BA302E #72BA2E #2EB8BA #762EBA
square
#BA302E #72BA2E #2EB8BA #762EBA
split-complementary
#BA302E #2EBA76 #2E72BA
monochromatic
#581716 #892322 #BA302E #D45351 #E08482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA302E#FFFFFF#000000##FFFFFF
##BA302E1.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)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba302e;
/* rgb */ color: rgb(186, 48, 46);
/* oklch */ color: oklch(52.4% 0.175 26.3);
Tailwind
colors: {
  custom: {
    50: '#d77367',
    500: '#ba302e',
    950: '#000000',
  },
}
SCSS
$custom: #ba302e;
$custom-light: #d77367;
$custom-dark: #000000;
JSON
{
  "hex": "#ba302e",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 0.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.17528,
    "h": 26.3
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#BA302E
secondary
#7BC8C9
accent
#E1E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA302E

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

Preview Lab → · Contrast checker → · Palette generator →

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