#BA2B48#BA2B48

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

Color values

HEX#BA2B48
RGBrgb(186, 43, 72)
HSLhsl(348, 62%, 45%)
HSVhsv(348, 77%, 73%)
CMYKcmyk(0%, 76.9%, 61.3%, 27.1%)
CIE-LABlab(42.21, 57.40, 18.76)
CIE-LCHlch(42.21, 60.39, 18.10°)
OKLaboklab(52.43% 0.1722 0.0458)
OKLCHoklch(52.43% 0.178 14.9)
XYZxyz(22.2856, 12.6380, 7.3956)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B48 #2BBA9D
analogous
#BA2B90 #BA2B48 #BA552B
triadic
#BA2B48 #48BA2B #2B48BA
tetradic
#BA2B48 #90BA2B #2BBA9D #552BBA
square
#BA2B48 #90BA2B #2BBA9D #552BBA
split-complementary
#BA2B48 #2BBA55 #2B90BA
monochromatic
#571422 #882035 #BA2B48 #D64C68 #E17E92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B48#FFFFFF#000000##FFFFFF
##BA2B481.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)
#535148
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b48;
/* rgb */ color: rgb(186, 43, 72);
/* oklch */ color: oklch(52.4% 0.178 14.9);
Tailwind
colors: {
  custom: {
    50: '#d6717a',
    500: '#ba2b48',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b48;
$custom-light: #d6717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b48",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 347.832,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.17819,
    "h": 14.9
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#BA2B48
secondary
#77CAB9
accent
#E6C442
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2B48

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

Preview Lab → · Contrast checker → · Palette generator →

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