#BA2B4A#BA2B4A

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

Color values

HEX#BA2B4A
RGBrgb(186, 43, 74)
HSLhsl(347, 62%, 45%)
HSVhsv(347, 77%, 73%)
CMYKcmyk(0%, 76.9%, 60.2%, 27.1%)
CIE-LABlab(42.25, 57.53, 17.57)
CIE-LCHlch(42.25, 60.15, 16.98°)
OKLaboklab(52.48% 0.173 0.0432)
OKLCHoklch(52.48% 0.178 14)
XYZxyz(22.3519, 12.6646, 7.7448)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B4A #2BBA9B
analogous
#BA2B91 #BA2B4A #BA542B
triadic
#BA2B4A #4ABA2B #2B4ABA
tetradic
#BA2B4A #91BA2B #2BBA9B #542BBA
square
#BA2B4A #91BA2B #2BBA9B #542BBA
split-complementary
#BA2B4A #2BBA54 #2B91BA
monochromatic
#571422 #882036 #BA2B4A #D64C6A #E17E94

Accessibility & contrast

On white

5.95
#BA2B4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B4A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B4A#FFFFFF#000000##FFFFFF
##BA2B4A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b4a;
/* rgb */ color: rgb(186, 43, 74);
/* oklch */ color: oklch(52.5% 0.178 14.0);
Tailwind
colors: {
  custom: {
    50: '#d6717c',
    500: '#ba2b4a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b4a;
$custom-light: #d6717c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b4a",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 346.993,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.1783,
    "h": 14
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#BA2B4A
secondary
#77CAB8
accent
#E6C242
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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