#BA2A4B#BA2A4B

#BA2A4B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 13.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA2A4B
RGBrgb(186, 42, 75)
HSLhsl(346, 63%, 45%)
HSVhsv(346, 77%, 73%)
CMYKcmyk(0%, 77.4%, 59.7%, 27.1%)
CIE-LABlab(42.16, 57.91, 16.82)
CIE-LCHlch(42.16, 60.30, 16.20°)
OKLaboklab(52.42% 0.1744 0.0415)
OKLCHoklch(52.42% 0.179 13.4)
XYZxyz(22.3499, 12.6063, 7.9117)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A4B #2ABA99
analogous
#BA2A93 #BA2A4B #BA512A
triadic
#BA2A4B #4BBA2A #2A4BBA
tetradic
#BA2A4B #93BA2A #2ABA99 #512ABA
square
#BA2A4B #93BA2A #2ABA99 #512ABA
split-complementary
#BA2A4B #2ABA51 #2A93BA
monochromatic
#561323 #881F37 #BA2A4B #D64B6B #E27D94

Accessibility & contrast

On white

5.96
#BA2A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A4B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A4B#FFFFFF#000000##FFFFFF
##BA2A4B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514B
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2a4b;
/* rgb */ color: rgb(186, 42, 75);
/* oklch */ color: oklch(52.4% 0.179 13.4);
Tailwind
colors: {
  custom: {
    50: '#d6717d',
    500: '#ba2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a4b;
$custom-light: #d6717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a4b",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 346.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.17925,
    "h": 13.4
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#BA2A4B
secondary
#76CAB7
accent
#E6C042
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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