#BA3947#BA3947

#BA3947 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.7% C 0.165 H 18.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA3947
RGBrgb(186, 57, 71)
HSLhsl(353, 53%, 48%)
HSVhsv(353, 69%, 73%)
CMYKcmyk(0%, 69.4%, 61.8%, 27.1%)
CIE-LABlab(43.98, 52.38, 21.70)
CIE-LCHlch(43.98, 56.70, 22.50°)
OKLaboklab(53.74% 0.1559 0.0525)
OKLCHoklch(53.74% 0.165 18.6)
XYZxyz(22.8524, 13.8235, 7.4249)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3947 #39BAAC
analogous
#BA3988 #BA3947 #BA6B39
triadic
#BA3947 #47BA39 #3947BA
tetradic
#BA3947 #88BA39 #39BAAC #6B39BA
square
#BA3947 #88BA39 #39BAAC #6B39BA
split-complementary
#BA3947 #39BA6B #3988BA
monochromatic
#5C1C23 #8B2B35 #BA3947 #CF616D #DD9099

Accessibility & contrast

On white

5.58
#BA3947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA3947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3947
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3947#FFFFFF#000000##FFFFFF
##BA39471.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5747
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#CC183F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3947;
/* rgb */ color: rgb(186, 57, 71);
/* oklch */ color: oklch(53.7% 0.165 18.6);
Tailwind
colors: {
  custom: {
    50: '#d6787a',
    500: '#ba3947',
    950: '#000000',
  },
}
SCSS
$custom: #ba3947;
$custom-light: #d6787a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3947",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 71
  },
  "hsl": {
    "h": 353.488,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.16454,
    "h": 18.6
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#BA3947
secondary
#87C8C1
accent
#DCCD4B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA3947

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

Preview Lab → · Contrast checker → · Palette generator →

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