#BA2B30#BA2B30

#BA2B30 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 24.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2B30
RGBrgb(186, 43, 48)
HSLhsl(358, 62%, 45%)
HSVhsv(358, 77%, 73%)
CMYKcmyk(0%, 76.9%, 74.2%, 27.1%)
CIE-LABlab(41.82, 56.13, 32.95)
CIE-LCHlch(41.82, 65.09, 30.41°)
OKLaboklab(52.02% 0.1631 0.0742)
OKLCHoklch(52.02% 0.179 24.5)
XYZxyz(21.6496, 12.3836, 4.0461)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B30 #2BBAB5
analogous
#BA2B78 #BA2B30 #BA6D2B
triadic
#BA2B30 #30BA2B #2B30BA
tetradic
#BA2B30 #78BA2B #2BBAB5 #6D2BBA
square
#BA2B30 #78BA2B #2BBAB5 #6D2BBA
split-complementary
#BA2B30 #2BBA6D #2B78BA
monochromatic
#571416 #882023 #BA2B30 #D64C51 #E17E82

Accessibility & contrast

On white

6.04
#BA2B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA2B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B30
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B30#FFFFFF#000000##FFFFFF
##BA2B301.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2b30;
/* rgb */ color: rgb(186, 43, 48);
/* oklch */ color: oklch(52.0% 0.179 24.5);
Tailwind
colors: {
  custom: {
    50: '#d87168',
    500: '#ba2b30',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b30;
$custom-light: #d87168;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b30",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 48
  },
  "hsl": {
    "h": 357.902,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.17918,
    "h": 24.5
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#BA2B30
secondary
#77CAC7
accent
#E6E042
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA2B30

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

Preview Lab → · Contrast checker → · Palette generator →

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