#BA3D52#BA3D52

#BA3D52 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.4% C 0.160 H 14.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA3D52
RGBrgb(186, 61, 82)
HSLhsl(350, 51%, 48%)
HSVhsv(350, 67%, 73%)
CMYKcmyk(0%, 67.2%, 55.9%, 27.1%)
CIE-LABlab(44.79, 51.56, 16.02)
CIE-LCHlch(44.79, 53.99, 17.26°)
OKLaboklab(54.41% 0.1552 0.04)
OKLCHoklch(54.41% 0.16 14.4)
XYZxyz(23.4436, 14.3889, 9.5239)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D52 #3DBAA5
analogous
#BA3D90 #BA3D52 #BA663D
triadic
#BA3D52 #52BA3D #3D52BA
tetradic
#BA3D52 #90BA3D #3DBAA5 #663DBA
square
#BA3D52 #90BA3D #3DBAA5 #663DBA
split-complementary
#BA3D52 #3DBA66 #3D90BA
monochromatic
#5E1F29 #8C2E3E #BA3D52 #CD6778 #DC95A1

Accessibility & contrast

On white

5.42
#BA3D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA3D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D52
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D52#FFFFFF#000000##FFFFFF
##BA3D521.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5A52
Deuteranopia (green-blind)
#7C734F
Tritanopia (blue-blind)
#CB2445
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3d52;
/* rgb */ color: rgb(186, 61, 82);
/* oklch */ color: oklch(54.4% 0.160 14.4);
Tailwind
colors: {
  custom: {
    50: '#d57a82',
    500: '#ba3d52',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d52;
$custom-light: #d57a82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d52",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 82
  },
  "hsl": {
    "h": 349.92,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.16024,
    "h": 14.4
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#BA3D52
secondary
#8BC8BE
accent
#DAC34E
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3D52

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

Preview Lab → · Contrast checker → · Palette generator →

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