#BA3A52#BA3A52

#BA3A52 is a mid, vivid red. Relative luminance 0.141; OKLCH L 54.1% C 0.164 H 13.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA3A52
RGBrgb(186, 58, 82)
HSLhsl(349, 52%, 48%)
HSVhsv(349, 69%, 73%)
CMYKcmyk(0%, 68.8%, 55.9%, 27.1%)
CIE-LABlab(44.34, 52.77, 15.42)
CIE-LCHlch(44.34, 54.98, 16.29°)
OKLaboklab(54.09% 0.159 0.0385)
OKLCHoklch(54.09% 0.164 13.6)
XYZxyz(23.2879, 14.0776, 9.4720)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A52 #3ABAA2
analogous
#BA3A92 #BA3A52 #BA623A
triadic
#BA3A52 #52BA3A #3A52BA
tetradic
#BA3A52 #92BA3A #3ABAA2 #623ABA
square
#BA3A52 #92BA3A #3ABAA2 #623ABA
split-complementary
#BA3A52 #3ABA62 #3A92BA
monochromatic
#5D1D29 #8B2B3D #BA3A52 #CE6377 #DD92A0

Accessibility & contrast

On white

5.50
#BA3A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A52
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A52#FFFFFF#000000##FFFFFF
##BA3A521.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#7B734F
Tritanopia (blue-blind)
#CB1E44
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3a52;
/* rgb */ color: rgb(186, 58, 82);
/* oklch */ color: oklch(54.1% 0.164 13.6);
Tailwind
colors: {
  custom: {
    50: '#d57982',
    500: '#ba3a52',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a52;
$custom-light: #d57982;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a52",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 348.75,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.16363,
    "h": 13.6
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#BA3A52
secondary
#88C8BC
accent
#DCC14C
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3A52

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

Preview Lab → · Contrast checker → · Palette generator →

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