#BA2B3D#BA2B3D

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

Color values

HEX#BA2B3D
RGBrgb(186, 43, 61)
HSLhsl(352, 62%, 45%)
HSVhsv(352, 77%, 73%)
CMYKcmyk(0%, 76.9%, 67.2%, 27.1%)
CIE-LABlab(42.01, 56.75, 25.32)
CIE-LCHlch(42.01, 62.15, 24.05°)
OKLaboklab(52.22% 0.1679 0.0597)
OKLCHoklch(52.22% 0.178 19.6)
XYZxyz(21.9583, 12.5071, 5.6719)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B3D #2BBAA8
analogous
#BA2B84 #BA2B3D #BA612B
triadic
#BA2B3D #3DBA2B #2B3DBA
tetradic
#BA2B3D #84BA2B #2BBAA8 #612BBA
square
#BA2B3D #84BA2B #2BBAA8 #612BBA
split-complementary
#BA2B3D #2BBA61 #2B84BA
monochromatic
#57141C #88202D #BA2B3D #D64C5E #E17E8B

Accessibility & contrast

On white

6.00
#BA2B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B3D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B3D#FFFFFF#000000##FFFFFF
##BA2B3D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2b3d;
/* rgb */ color: rgb(186, 43, 61);
/* oklch */ color: oklch(52.2% 0.178 19.6);
Tailwind
colors: {
  custom: {
    50: '#d77172',
    500: '#ba2b3d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b3d;
$custom-light: #d77172;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b3d",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 61
  },
  "hsl": {
    "h": 352.448,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.17819,
    "h": 19.6
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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