#BA2B4B#BA2B4B

#BA2B4B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.178 H 13.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2B4B
RGBrgb(186, 43, 75)
HSLhsl(347, 62%, 45%)
HSVhsv(347, 77%, 73%)
CMYKcmyk(0%, 76.9%, 59.7%, 27.1%)
CIE-LABlab(42.27, 57.60, 16.97)
CIE-LCHlch(42.27, 60.05, 16.42°)
OKLaboklab(52.5% 0.1734 0.0418)
OKLCHoklch(52.5% 0.178 13.6)
XYZxyz(22.3858, 12.6781, 7.9236)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B4B #2BBA9A
analogous
#BA2B93 #BA2B4B #BA522B
triadic
#BA2B4B #4BBA2B #2B4BBA
tetradic
#BA2B4B #93BA2B #2BBA9A #522BBA
square
#BA2B4B #93BA2B #2BBA9A #522BBA
split-complementary
#BA2B4B #2BBA52 #2B93BA
monochromatic
#571423 #882037 #BA2B4B #D64C6B #E17E94

Accessibility & contrast

On white

5.94
#BA2B4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2B4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B4B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B4B#FFFFFF#000000##FFFFFF
##BA2B4B1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514B
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b4b;
/* rgb */ color: rgb(186, 43, 75);
/* oklch */ color: oklch(52.5% 0.178 13.6);
Tailwind
colors: {
  custom: {
    50: '#d6727d',
    500: '#ba2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b4b;
$custom-light: #d6727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b4b",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 346.573,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.17835,
    "h": 13.6
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#BA2B4B
secondary
#77CAB7
accent
#E6C142
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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