#BA303C#BA303C

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

Color values

HEX#BA303C
RGBrgb(186, 48, 60)
HSLhsl(355, 59%, 46%)
HSVhsv(355, 74%, 73%)
CMYKcmyk(0%, 74.2%, 67.7%, 27.1%)
CIE-LABlab(42.59, 55.05, 26.65)
CIE-LCHlch(42.59, 61.16, 25.83°)
OKLaboklab(52.64% 0.1622 0.0625)
OKLCHoklch(52.64% 0.174 21.1)
XYZxyz(22.1247, 12.8826, 5.5957)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA303C #30BAAE
analogous
#BA3081 #BA303C #BA6930
triadic
#BA303C #3CBA30 #303CBA
tetradic
#BA303C #81BA30 #30BAAE #6930BA
square
#BA303C #81BA30 #30BAAE #6930BA
split-complementary
#BA303C #30BA69 #3081BA
monochromatic
#59171D #89232C #BA303C #D3545F #DF858D

Accessibility & contrast

On white

5.87
#BA303C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA303C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA303C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA303C#FFFFFF#000000##FFFFFF
##BA303C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58523B
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba303c;
/* rgb */ color: rgb(186, 48, 60);
/* oklch */ color: oklch(52.6% 0.174 21.1);
Tailwind
colors: {
  custom: {
    50: '#d77371',
    500: '#ba303c',
    950: '#000000',
  },
}
SCSS
$custom: #ba303c;
$custom-light: #d77371;
$custom-dark: #000000;
JSON
{
  "hex": "#ba303c",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 60
  },
  "hsl": {
    "h": 354.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.17387,
    "h": 21.1
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#BA303C
secondary
#7DC9C2
accent
#E2D546
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA303C

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

Preview Lab → · Contrast checker → · Palette generator →

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