#BA302D#BA302D

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

Color values

HEX#BA302D
RGBrgb(186, 48, 45)
HSLhsl(1, 61%, 45%)
HSVhsv(1, 76%, 73%)
CMYKcmyk(0%, 74.2%, 75.8%, 27.1%)
CIE-LABlab(42.38, 54.35, 35.32)
CIE-LCHlch(42.38, 64.82, 33.02°)
OKLaboklab(52.42% 0.1568 0.0787)
OKLCHoklch(52.42% 0.175 26.6)
XYZxyz(21.7828, 12.7458, 3.7953)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA302D #2DB7BA
analogous
#BA2D70 #BA302D #BA772D
triadic
#BA302D #2DBA30 #302DBA
tetradic
#BA302D #70BA2D #2DB7BA #772DBA
square
#BA302D #70BA2D #2DB7BA #772DBA
split-complementary
#BA302D #2DBA77 #2D70BA
monochromatic
#571715 #892321 #BA302D #D55250 #E08381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA302D#FFFFFF#000000##FFFFFF
##BA302D1.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)
#59512B
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba302d;
/* rgb */ color: rgb(186, 48, 45);
/* oklch */ color: oklch(52.4% 0.175 26.6);
Tailwind
colors: {
  custom: {
    50: '#d87366',
    500: '#ba302d',
    950: '#000000',
  },
}
SCSS
$custom: #ba302d;
$custom-light: #d87366;
$custom-dark: #000000;
JSON
{
  "hex": "#ba302d",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 1.277,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.17541,
    "h": 26.6
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#BA302D
secondary
#79C8C9
accent
#E1E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA302D

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

Preview Lab → · Contrast checker → · Palette generator →

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