#BA303A#BA303A

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

Color values

HEX#BA303A
RGBrgb(186, 48, 58)
HSLhsl(356, 59%, 46%)
HSVhsv(356, 74%, 73%)
CMYKcmyk(0%, 74.2%, 68.8%, 27.1%)
CIE-LABlab(42.55, 54.94, 27.83)
CIE-LCHlch(42.55, 61.59, 26.86°)
OKLaboklab(52.61% 0.1615 0.0649)
OKLCHoklch(52.61% 0.174 21.9)
XYZxyz(22.0728, 12.8618, 5.3225)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA303A #30BAB0
analogous
#BA307F #BA303A #BA6B30
triadic
#BA303A #3ABA30 #303ABA
tetradic
#BA303A #7FBA30 #30BAB0 #6B30BA
square
#BA303A #7FBA30 #30BAB0 #6B30BA
split-complementary
#BA303A #30BA6B #307FBA
monochromatic
#59171C #89232B #BA303A #D3545D #DF858B

Accessibility & contrast

On white

5.88
#BA303A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA303A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA303A#FFFFFF#000000##FFFFFF
##BA303A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585239
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba303a;
/* rgb */ color: rgb(186, 48, 58);
/* oklch */ color: oklch(52.6% 0.174 21.9);
Tailwind
colors: {
  custom: {
    50: '#d77370',
    500: '#ba303a',
    950: '#000000',
  },
}
SCSS
$custom: #ba303a;
$custom-light: #d77370;
$custom-dark: #000000;
JSON
{
  "hex": "#ba303a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 355.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52609,
    "c": 0.17402,
    "h": 21.9
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#BA303A
secondary
#7DC9C3
accent
#E2D746
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA303A

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

Preview Lab → · Contrast checker → · Palette generator →

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