#BA2548#BA2548

#BA2548 is a mid, vivid red. Relative luminance 0.122; OKLCH L 52.0% C 0.183 H 13.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA2548
RGBrgb(186, 37, 72)
HSLhsl(346, 67%, 44%)
HSVhsv(346, 80%, 73%)
CMYKcmyk(0%, 80.1%, 61.3%, 27.1%)
CIE-LABlab(41.58, 59.17, 17.93)
CIE-LCHlch(41.58, 61.83, 16.86°)
OKLaboklab(51.97% 0.1779 0.0439)
OKLCHoklch(51.97% 0.183 13.9)
XYZxyz(22.0833, 12.2334, 7.3281)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2548 #25BA97
analogous
#BA2592 #BA2548 #BA4C25
triadic
#BA2548 #48BA25 #2548BA
tetradic
#BA2548 #92BA25 #25BA97 #4C25BA
square
#BA2548 #92BA25 #25BA97 #4C25BA
split-complementary
#BA2548 #25BA4C #2592BA
monochromatic
#541120 #871B34 #BA2548 #DA4366 #E47690

Accessibility & contrast

On white

6.09
#BA2548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#BA2548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2548
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2548#FFFFFF#000000##FFFFFF
##BA25481.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F48
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2548;
/* rgb */ color: rgb(186, 37, 72);
/* oklch */ color: oklch(52.0% 0.183 13.9);
Tailwind
colors: {
  custom: {
    50: '#d66f7a',
    500: '#ba2548',
    950: '#000000',
  },
}
SCSS
$custom: #ba2548;
$custom-light: #d66f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2548",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 345.906,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.18324,
    "h": 13.9
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#BA2548
secondary
#70CBB6
accent
#EAC13E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2548

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

Preview Lab → · Contrast checker → · Palette generator →

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