#BA3B47#BA3B47

#BA3B47 is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.0% C 0.162 H 19.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA3B47
RGBrgb(186, 59, 71)
HSLhsl(354, 52%, 48%)
HSVhsv(354, 68%, 73%)
CMYKcmyk(0%, 68.3%, 61.8%, 27.1%)
CIE-LABlab(44.27, 51.59, 22.08)
CIE-LCHlch(44.27, 56.11, 23.17°)
OKLaboklab(53.96% 0.1534 0.0534)
OKLCHoklch(53.96% 0.162 19.2)
XYZxyz(22.9533, 14.0252, 7.4585)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B47 #3BBAAE
analogous
#BA3B86 #BA3B47 #BA6F3B
triadic
#BA3B47 #47BA3B #3B47BA
tetradic
#BA3B47 #86BA3B #3BBAAE #6F3BBA
square
#BA3B47 #86BA3B #3BBAAE #6F3BBA
split-complementary
#BA3B47 #3BBA6F #3B86BA
monochromatic
#5D1E24 #8C2C35 #BA3B47 #CE646E #DD939A

Accessibility & contrast

On white

5.52
#BA3B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA3B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B47
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B47#FFFFFF#000000##FFFFFF
##BA3B471.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5847
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#CC1C40
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3b47;
/* rgb */ color: rgb(186, 59, 71);
/* oklch */ color: oklch(54.0% 0.162 19.2);
Tailwind
colors: {
  custom: {
    50: '#d5797a',
    500: '#ba3b47',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b47;
$custom-light: #d5797a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b47",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 71
  },
  "hsl": {
    "h": 354.331,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.16243,
    "h": 19.2
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#BA3B47
secondary
#89C8C2
accent
#DBCE4D
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B

Preview Lab

Preview with #BA3B47

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

Preview Lab → · Contrast checker → · Palette generator →

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