#BA5151#BA5151

#BA5151 is a mid, vivid red. Relative luminance 0.169; OKLCH L 56.9% C 0.136 H 22.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA5151
RGBrgb(186, 81, 81)
HSLhsl(0, 43%, 52%)
HSVhsv(0, 56%, 73%)
CMYKcmyk(0%, 56.5%, 56.5%, 27.1%)
CIE-LABlab(48.16, 42.43, 21.15)
CIE-LCHlch(48.16, 47.41, 26.49°)
OKLaboklab(56.94% 0.1262 0.052)
OKLCHoklch(56.94% 0.136 22.4)
XYZxyz(24.6794, 16.9210, 9.7494)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5151 #51BABA
analogous
#BA5186 #BA5151 #BA8651
triadic
#BA5151 #51BA51 #5151BA
tetradic
#BA5151 #86BA51 #51BABA #8651BA
square
#BA5151 #86BA51 #51BABA #8651BA
split-complementary
#BA5151 #51BA86 #5186BA
monochromatic
#682929 #933A3A #BA5151 #CB7D7D #DDA9A9

Accessibility & contrast

On white

4.79
#BA5151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA5151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5151
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5151#FFFFFF#000000##FFFFFF
##BA51511.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6550
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#CB3F52
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5151;
/* rgb */ color: rgb(186, 81, 81);
/* oklch */ color: oklch(56.9% 0.136 22.4);
Tailwind
colors: {
  custom: {
    50: '#d48581',
    500: '#ba5151',
    950: '#000000',
  },
}
SCSS
$custom: #ba5151;
$custom-light: #d48581;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5151",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.13643,
    "h": 22.4
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#BA5151
secondary
#9DCACA
accent
#D3D355
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA5151

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

Preview Lab → · Contrast checker → · Palette generator →

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