#BA3952#BA3952

#BA3952 is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.0% C 0.165 H 13.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA3952
RGBrgb(186, 57, 82)
HSLhsl(348, 53%, 48%)
HSVhsv(348, 69%, 73%)
CMYKcmyk(0%, 69.4%, 55.9%, 27.1%)
CIE-LABlab(44.20, 53.16, 15.23)
CIE-LCHlch(44.20, 55.30, 15.98°)
OKLaboklab(53.98% 0.1603 0.0381)
OKLCHoklch(53.98% 0.165 13.4)
XYZxyz(23.2380, 13.9777, 9.4553)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3952 #39BAA1
analogous
#BA3992 #BA3952 #BA6039
triadic
#BA3952 #52BA39 #3952BA
tetradic
#BA3952 #92BA39 #39BAA1 #6039BA
square
#BA3952 #92BA39 #39BAA1 #6039BA
split-complementary
#BA3952 #39BA60 #3992BA
monochromatic
#5C1C29 #8B2B3D #BA3952 #CF6177 #DD909F

Accessibility & contrast

On white

5.53
#BA3952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA3952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3952
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3952#FFFFFF#000000##FFFFFF
##BA39521.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595852
Deuteranopia (green-blind)
#7B724F
Tritanopia (blue-blind)
#CB1D43
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3952;
/* rgb */ color: rgb(186, 57, 82);
/* oklch */ color: oklch(54.0% 0.165 13.4);
Tailwind
colors: {
  custom: {
    50: '#d57882',
    500: '#ba3952',
    950: '#000000',
  },
}
SCSS
$custom: #ba3952;
$custom-light: #d57882;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3952",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 348.372,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.16475,
    "h": 13.4
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#BA3952
secondary
#87C8BB
accent
#DCC04B
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3952

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

Preview Lab → · Contrast checker → · Palette generator →

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