#BA2A4D#BA2A4D

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

Color values

HEX#BA2A4D
RGBrgb(186, 42, 77)
HSLhsl(345, 63%, 45%)
HSVhsv(345, 77%, 73%)
CMYKcmyk(0%, 77.4%, 58.6%, 27.1%)
CIE-LABlab(42.21, 58.04, 15.63)
CIE-LCHlch(42.21, 60.11, 15.07°)
OKLaboklab(52.47% 0.1752 0.0388)
OKLCHoklch(52.47% 0.179 12.5)
XYZxyz(22.4195, 12.6341, 8.2779)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A4D #2ABA97
analogous
#BA2A95 #BA2A4D #BA4F2A
triadic
#BA2A4D #4DBA2A #2A4DBA
tetradic
#BA2A4D #95BA2A #2ABA97 #4F2ABA
square
#BA2A4D #95BA2A #2ABA97 #4F2ABA
split-complementary
#BA2A4D #2ABA4F #2A95BA
monochromatic
#561324 #881F38 #BA2A4D #D64B6D #E27D95

Accessibility & contrast

On white

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

On black

3.53
#BA2A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2A4D#FFFFFF#000000##FFFFFF
##BA2A4D1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514D
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a4d;
/* rgb */ color: rgb(186, 42, 77);
/* oklch */ color: oklch(52.5% 0.179 12.5);
Tailwind
colors: {
  custom: {
    50: '#d6717e',
    500: '#ba2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a4d;
$custom-light: #d6717e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a4d",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 345.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.17941,
    "h": 12.5
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#BA2A4D
secondary
#76CAB6
accent
#E6BE42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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