#BA2B49#BA2B49

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

Color values

HEX#BA2B49
RGBrgb(186, 43, 73)
HSLhsl(347, 62%, 45%)
HSVhsv(347, 77%, 73%)
CMYKcmyk(0%, 76.9%, 60.8%, 27.1%)
CIE-LABlab(42.23, 57.47, 18.17)
CIE-LCHlch(42.23, 60.27, 17.54°)
OKLaboklab(52.46% 0.1726 0.0445)
OKLCHoklch(52.46% 0.178 14.5)
XYZxyz(22.3185, 12.6512, 7.5688)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B49 #2BBA9C
analogous
#BA2B90 #BA2B49 #BA552B
triadic
#BA2B49 #49BA2B #2B49BA
tetradic
#BA2B49 #90BA2B #2BBA9C #552BBA
square
#BA2B49 #90BA2B #2BBA9C #552BBA
split-complementary
#BA2B49 #2BBA55 #2B90BA
monochromatic
#571422 #882035 #BA2B49 #D64C69 #E17E93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B49#FFFFFF#000000##FFFFFF
##BA2B491.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)
#535149
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b49;
/* rgb */ color: rgb(186, 43, 73);
/* oklch */ color: oklch(52.5% 0.178 14.5);
Tailwind
colors: {
  custom: {
    50: '#d6717b',
    500: '#ba2b49',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b49;
$custom-light: #d6717b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b49",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 347.413,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.17824,
    "h": 14.5
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#BA2B49
secondary
#77CAB8
accent
#E6C342
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2B49

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

Preview Lab → · Contrast checker → · Palette generator →

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