#BA3E52#BA3E52

#BA3E52 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.5% C 0.159 H 14.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA3E52
RGBrgb(186, 62, 82)
HSLhsl(350, 50%, 49%)
HSVhsv(350, 67%, 73%)
CMYKcmyk(0%, 66.7%, 55.9%, 27.1%)
CIE-LABlab(44.94, 51.15, 16.23)
CIE-LCHlch(44.94, 53.66, 17.60°)
OKLaboklab(54.53% 0.1539 0.0405)
OKLCHoklch(54.53% 0.159 14.7)
XYZxyz(23.4974, 14.4967, 9.5418)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E52 #3EBAA6
analogous
#BA3E90 #BA3E52 #BA683E
triadic
#BA3E52 #52BA3E #3E52BA
tetradic
#BA3E52 #90BA3E #3EBAA6 #683EBA
square
#BA3E52 #90BA3E #3EBAA6 #683EBA
split-complementary
#BA3E52 #3EBA68 #3E90BA
monochromatic
#5E1F2A #8C2F3E #BA3E52 #CD6879 #DC96A2

Accessibility & contrast

On white

5.39
#BA3E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA3E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E52
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E52#FFFFFF#000000##FFFFFF
##BA3E521.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3e52;
/* rgb */ color: rgb(186, 62, 82);
/* oklch */ color: oklch(54.5% 0.159 14.7);
Tailwind
colors: {
  custom: {
    50: '#d57b82',
    500: '#ba3e52',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e52;
$custom-light: #d57b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e52",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 82
  },
  "hsl": {
    "h": 350.323,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.15909,
    "h": 14.7
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3E52

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

Preview Lab → · Contrast checker → · Palette generator →

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