#BA3151#BA3151

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

Color values

HEX#BA3151
RGBrgb(186, 49, 81)
HSLhsl(346, 58%, 46%)
HSVhsv(346, 74%, 73%)
CMYKcmyk(0%, 73.7%, 56.5%, 27.1%)
CIE-LABlab(43.11, 56.04, 14.36)
CIE-LCHlch(43.11, 57.85, 14.38°)
OKLaboklab(53.16% 0.1694 0.036)
OKLCHoklch(53.16% 0.173 12)
XYZxyz(22.8354, 13.2330, 9.1348)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3151 #31BA9A
analogous
#BA3195 #BA3151 #BA5531
triadic
#BA3151 #51BA31 #3151BA
tetradic
#BA3151 #95BA31 #31BA9A #5531BA
square
#BA3151 #95BA31 #31BA9A #5531BA
split-complementary
#BA3151 #31BA55 #3195BA
monochromatic
#591727 #8A243C #BA3151 #D25673 #DF869B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3151#FFFFFF#000000##FFFFFF
##BA31511.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)
#555451
Deuteranopia (green-blind)
#78704E
Tritanopia (blue-blind)
#CB073E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3151;
/* rgb */ color: rgb(186, 49, 81);
/* oklch */ color: oklch(53.2% 0.173 12.0);
Tailwind
colors: {
  custom: {
    50: '#d57481',
    500: '#ba3151',
    950: '#000000',
  },
}
SCSS
$custom: #ba3151;
$custom-light: #d57481;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3151",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 345.985,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.17314,
    "h": 12
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#BA3151
secondary
#7EC9B7
accent
#E2BD46
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA3151

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

Preview Lab → · Contrast checker → · Palette generator →

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