#BA5156#BA5156

#BA5156 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.0% C 0.136 H 19.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA5156
RGBrgb(186, 81, 86)
HSLhsl(357, 43%, 52%)
HSVhsv(357, 56%, 73%)
CMYKcmyk(0%, 56.5%, 53.8%, 27.1%)
CIE-LABlab(48.26, 42.84, 18.29)
CIE-LCHlch(48.26, 46.58, 23.11°)
OKLaboklab(57.05% 0.1282 0.0455)
OKLCHoklch(57.05% 0.136 19.6)
XYZxyz(24.8738, 16.9988, 10.7735)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5156 #51BAB5
analogous
#BA518A #BA5156 #BA8151
triadic
#BA5156 #56BA51 #5156BA
tetradic
#BA5156 #8ABA51 #51BAB5 #8151BA
square
#BA5156 #8ABA51 #51BAB5 #8151BA
split-complementary
#BA5156 #51BA81 #518ABA
monochromatic
#68292C #933A3F #BA5156 #CB7D81 #DDA9AB

Accessibility & contrast

On white

4.77
#BA5156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA5156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5156
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5156#FFFFFF#000000##FFFFFF
##BA51561.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696556
Deuteranopia (green-blind)
#847B54
Tritanopia (blue-blind)
#CA4053
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba5156;
/* rgb */ color: rgb(186, 81, 86);
/* oklch */ color: oklch(57.0% 0.136 19.6);
Tailwind
colors: {
  custom: {
    50: '#d48585',
    500: '#ba5156',
    950: '#000000',
  },
}
SCSS
$custom: #ba5156;
$custom-light: #d48585;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5156",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 86
  },
  "hsl": {
    "h": 357.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.136,
    "h": 19.6
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#BA5156
secondary
#9DCAC8
accent
#D3CD55
background
#FDF8F8
surface
#FBEFEF
border
#D4CACA
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #BA5156

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

Preview Lab → · Contrast checker → · Palette generator →

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