#BA2948#BA2948

#BA2948 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.3% C 0.180 H 14.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA2948
RGBrgb(186, 41, 72)
HSLhsl(347, 64%, 45%)
HSVhsv(347, 78%, 73%)
CMYKcmyk(0%, 78%, 61.3%, 27.1%)
CIE-LABlab(41.99, 58.02, 18.48)
CIE-LCHlch(41.99, 60.89, 17.66°)
OKLaboklab(52.27% 0.1742 0.0451)
OKLCHoklch(52.27% 0.18 14.5)
XYZxyz(22.2146, 12.4962, 7.3719)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2948 #29BA9B
analogous
#BA2991 #BA2948 #BA5229
triadic
#BA2948 #48BA29 #2948BA
tetradic
#BA2948 #91BA29 #29BA9B #5229BA
square
#BA2948 #91BA29 #29BA9B #5229BA
split-complementary
#BA2948 #29BA52 #2991BA
monochromatic
#561321 #881E35 #BA2948 #D74968 #E27B91

Accessibility & contrast

On white

6.00
#BA2948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA2948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2948
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2948#FFFFFF#000000##FFFFFF
##BA29481.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525048
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2948;
/* rgb */ color: rgb(186, 41, 72);
/* oklch */ color: oklch(52.3% 0.180 14.5);
Tailwind
colors: {
  custom: {
    50: '#d6717a',
    500: '#ba2948',
    950: '#000000',
  },
}
SCSS
$custom: #ba2948;
$custom-light: #d6717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2948",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 347.172,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.17993,
    "h": 14.5
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#BA2948
secondary
#75CAB8
accent
#E7C341
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2948

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

Preview Lab → · Contrast checker → · Palette generator →

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