#BA3F52#BA3F52

#BA3F52 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.158 H 15.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA3F52
RGBrgb(186, 63, 82)
HSLhsl(351, 49%, 49%)
HSVhsv(351, 66%, 73%)
CMYKcmyk(0%, 66.1%, 55.9%, 27.1%)
CIE-LABlab(45.09, 50.73, 16.44)
CIE-LCHlch(45.09, 53.33, 17.95°)
OKLaboklab(54.64% 0.1525 0.0409)
OKLCHoklch(54.64% 0.158 15)
XYZxyz(23.5523, 14.6064, 9.5601)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F52 #3FBAA7
analogous
#BA3F90 #BA3F52 #BA6A3F
triadic
#BA3F52 #52BA3F #3F52BA
tetradic
#BA3F52 #90BA3F #3FBAA7 #6A3FBA
square
#BA3F52 #90BA3F #3FBAA7 #6A3FBA
split-complementary
#BA3F52 #3FBA6A #3F90BA
monochromatic
#5F202A #8C303E #BA3F52 #CC6A79 #DC97A2

Accessibility & contrast

On white

5.36
#BA3F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA3F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F52
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F52#FFFFFF#000000##FFFFFF
##BA3F521.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5B52
Deuteranopia (green-blind)
#7D744F
Tritanopia (blue-blind)
#CB2747
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f52;
/* rgb */ color: rgb(186, 63, 82);
/* oklch */ color: oklch(54.6% 0.158 15.0);
Tailwind
colors: {
  custom: {
    50: '#d57b82',
    500: '#ba3f52',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f52;
$custom-light: #d57b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f52",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 82
  },
  "hsl": {
    "h": 350.732,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.15794,
    "h": 15
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#BA3F52
secondary
#8DC8BF
accent
#D9C44F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3F52

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

Preview Lab → · Contrast checker → · Palette generator →

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