#BA2947#BA2947

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

Color values

HEX#BA2947
RGBrgb(186, 41, 71)
HSLhsl(348, 64%, 45%)
HSVhsv(348, 78%, 73%)
CMYKcmyk(0%, 78%, 61.8%, 27.1%)
CIE-LABlab(41.97, 57.95, 19.07)
CIE-LCHlch(41.97, 61.01, 18.22°)
OKLaboklab(52.25% 0.1738 0.0465)
OKLCHoklch(52.25% 0.18 15)
XYZxyz(22.1823, 12.4832, 7.2015)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2947 #29BA9C
analogous
#BA2990 #BA2947 #BA5329
triadic
#BA2947 #47BA29 #2947BA
tetradic
#BA2947 #90BA29 #29BA9C #5329BA
square
#BA2947 #90BA29 #29BA9C #5329BA
split-complementary
#BA2947 #29BA53 #2990BA
monochromatic
#561321 #881E34 #BA2947 #D74967 #E27B91

Accessibility & contrast

On white

6.01
#BA2947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2947
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2947#FFFFFF#000000##FFFFFF
##BA29471.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2947;
/* rgb */ color: rgb(186, 41, 71);
/* oklch */ color: oklch(52.3% 0.180 15.0);
Tailwind
colors: {
  custom: {
    50: '#d67179',
    500: '#ba2947',
    950: '#000000',
  },
}
SCSS
$custom: #ba2947;
$custom-light: #d67179;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2947",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 347.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.17989,
    "h": 15
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2947

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

Preview Lab → · Contrast checker → · Palette generator →

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