#BA302F#BA302F

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

Color values

HEX#BA302F
RGBrgb(186, 48, 47)
HSLhsl(0, 60%, 46%)
HSVhsv(0, 75%, 73%)
CMYKcmyk(0%, 74.2%, 74.7%, 27.1%)
CIE-LABlab(42.40, 54.43, 34.19)
CIE-LCHlch(42.40, 64.28, 32.13°)
OKLaboklab(52.45% 0.1575 0.0767)
OKLCHoklch(52.45% 0.175 26)
XYZxyz(21.8223, 12.7616, 4.0030)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA302F #2FB9BA
analogous
#BA2F73 #BA302F #BA762F
triadic
#BA302F #2FBA30 #302FBA
tetradic
#BA302F #73BA2F #2FB9BA #762FBA
square
#BA302F #73BA2F #2FB9BA #762FBA
split-complementary
#BA302F #2FBA76 #2F73BA
monochromatic
#581716 #892323 #BA302F #D35453 #E08484

Accessibility & contrast

On white

5.91
#BA302F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA302F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA302F#FFFFFF#000000##FFFFFF
##BA302F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512D
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba302f;
/* rgb */ color: rgb(186, 48, 47);
/* oklch */ color: oklch(52.4% 0.175 26.0);
Tailwind
colors: {
  custom: {
    50: '#d77368',
    500: '#ba302f',
    950: '#000000',
  },
}
SCSS
$custom: #ba302f;
$custom-light: #d77368;
$custom-dark: #000000;
JSON
{
  "hex": "#ba302f",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.432,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52446,
    "c": 0.17516,
    "h": 26
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#BA302F
secondary
#7CC9C9
accent
#E2E345
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA302F

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

Preview Lab → · Contrast checker → · Palette generator →

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