#BA2C30#BA2C30

#BA2C30 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.178 H 24.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA2C30
RGBrgb(186, 44, 48)
HSLhsl(358, 62%, 45%)
HSVhsv(358, 76%, 73%)
CMYKcmyk(0%, 76.3%, 74.2%, 27.1%)
CIE-LABlab(41.93, 55.81, 33.08)
CIE-LCHlch(41.93, 64.88, 30.65°)
OKLaboklab(52.1% 0.1621 0.0745)
OKLCHoklch(52.1% 0.178 24.7)
XYZxyz(21.6864, 12.4573, 4.0583)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C30 #2CBAB6
analogous
#BA2C77 #BA2C30 #BA6F2C
triadic
#BA2C30 #30BA2C #2C30BA
tetradic
#BA2C30 #77BA2C #2CBAB6 #6F2CBA
square
#BA2C30 #77BA2C #2CBAB6 #6F2CBA
split-complementary
#BA2C30 #2CBA6F #2C77BA
monochromatic
#571516 #892023 #BA2C30 #D54E52 #E18082

Accessibility & contrast

On white

6.02
#BA2C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA2C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C30
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C30#FFFFFF#000000##FFFFFF
##BA2C301.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2F
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c30;
/* rgb */ color: rgb(186, 44, 48);
/* oklch */ color: oklch(52.1% 0.178 24.7);
Tailwind
colors: {
  custom: {
    50: '#d87168',
    500: '#ba2c30',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c30;
$custom-light: #d87168;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c30",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 48
  },
  "hsl": {
    "h": 358.31,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.17836,
    "h": 24.7
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#BA2C30
secondary
#78CAC7
accent
#E5E043
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2C30

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

Preview Lab → · Contrast checker → · Palette generator →

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