#BA3152#BA3152

#BA3152 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 11.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3152
RGBrgb(186, 49, 82)
HSLhsl(346, 58%, 46%)
HSVhsv(346, 74%, 73%)
CMYKcmyk(0%, 73.7%, 55.9%, 27.1%)
CIE-LABlab(43.13, 56.11, 13.77)
CIE-LCHlch(43.13, 57.78, 13.79°)
OKLaboklab(53.19% 0.1698 0.0346)
OKLCHoklch(53.19% 0.173 11.5)
XYZxyz(22.8732, 13.2481, 9.3337)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3152 #31BA99
analogous
#BA3196 #BA3152 #BA5431
triadic
#BA3152 #52BA31 #3152BA
tetradic
#BA3152 #96BA31 #31BA99 #5431BA
square
#BA3152 #96BA31 #31BA99 #5431BA
split-complementary
#BA3152 #31BA54 #3196BA
monochromatic
#591727 #8A243D #BA3152 #D25674 #DF869C

Accessibility & contrast

On white

5.76
#BA3152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA3152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3152
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3152#FFFFFF#000000##FFFFFF
##BA31521.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555452
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#CB083F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3152;
/* rgb */ color: rgb(186, 49, 82);
/* oklch */ color: oklch(53.2% 0.173 11.5);
Tailwind
colors: {
  custom: {
    50: '#d57482',
    500: '#ba3152',
    950: '#000000',
  },
}
SCSS
$custom: #ba3152;
$custom-light: #d57482;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3152",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 345.547,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.17324,
    "h": 11.5
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#BA3152
secondary
#7EC9B7
accent
#E2BC46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3152

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

Preview Lab → · Contrast checker → · Palette generator →

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