#BA3B52#BA3B52

#BA3B52 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.2% C 0.163 H 13.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3B52
RGBrgb(186, 59, 82)
HSLhsl(349, 52%, 48%)
HSVhsv(349, 68%, 73%)
CMYKcmyk(0%, 68.3%, 55.9%, 27.1%)
CIE-LABlab(44.49, 52.37, 15.62)
CIE-LCHlch(44.49, 54.65, 16.61°)
OKLaboklab(54.19% 0.1578 0.039)
OKLCHoklch(54.19% 0.163 13.9)
XYZxyz(23.3388, 14.1794, 9.4889)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B52 #3BBAA3
analogous
#BA3B91 #BA3B52 #BA633B
triadic
#BA3B52 #52BA3B #3B52BA
tetradic
#BA3B52 #91BA3B #3BBAA3 #633BBA
square
#BA3B52 #91BA3B #3BBAA3 #633BBA
split-complementary
#BA3B52 #3BBA63 #3B91BA
monochromatic
#5D1E29 #8C2C3E #BA3B52 #CE6477 #DD93A0

Accessibility & contrast

On white

5.48
#BA3B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA3B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B52
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B52#FFFFFF#000000##FFFFFF
##BA3B521.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3b52;
/* rgb */ color: rgb(186, 59, 82);
/* oklch */ color: oklch(54.2% 0.163 13.9);
Tailwind
colors: {
  custom: {
    50: '#d57982',
    500: '#ba3b52',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b52;
$custom-light: #d57982;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b52",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 82
  },
  "hsl": {
    "h": 349.134,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.16251,
    "h": 13.9
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#BA3B52
secondary
#89C8BC
accent
#DBC14D
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3B52

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

Preview Lab → · Contrast checker → · Palette generator →

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