#BA2B3E#BA2B3E

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

Color values

HEX#BA2B3E
RGBrgb(186, 43, 62)
HSLhsl(352, 62%, 45%)
HSVhsv(352, 77%, 73%)
CMYKcmyk(0%, 76.9%, 66.7%, 27.1%)
CIE-LABlab(42.03, 56.81, 24.73)
CIE-LCHlch(42.03, 61.96, 23.53°)
OKLaboklab(52.24% 0.1683 0.0585)
OKLCHoklch(52.24% 0.178 19.2)
XYZxyz(21.9855, 12.5180, 5.8151)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B3E #2BBAA7
analogous
#BA2B85 #BA2B3E #BA602B
triadic
#BA2B3E #3EBA2B #2B3EBA
tetradic
#BA2B3E #85BA2B #2BBAA7 #602BBA
square
#BA2B3E #85BA2B #2BBAA7 #602BBA
split-complementary
#BA2B3E #2BBA60 #2B85BA
monochromatic
#57141D #88202D #BA2B3E #D64C5F #E17E8B

Accessibility & contrast

On white

5.99
#BA2B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA2B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B3E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B3E#FFFFFF#000000##FFFFFF
##BA2B3E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503E
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2b3e;
/* rgb */ color: rgb(186, 43, 62);
/* oklch */ color: oklch(52.2% 0.178 19.2);
Tailwind
colors: {
  custom: {
    50: '#d77173',
    500: '#ba2b3e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b3e;
$custom-light: #d77173;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b3e",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 62
  },
  "hsl": {
    "h": 352.028,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.17815,
    "h": 19.2
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#BA2B3E
secondary
#77CABF
accent
#E6D042
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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