#BA5158#BA5158

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

Color values

HEX#BA5158
RGBrgb(186, 81, 88)
HSLhsl(356, 43%, 52%)
HSVhsv(356, 56%, 73%)
CMYKcmyk(0%, 56.5%, 52.7%, 27.1%)
CIE-LABlab(48.30, 43.02, 17.14)
CIE-LCHlch(48.30, 46.30, 21.73°)
OKLaboklab(57.09% 0.129 0.0429)
OKLCHoklch(57.09% 0.136 18.4)
XYZxyz(24.9555, 17.0315, 11.2038)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5158 #51BAB3
analogous
#BA518D #BA5158 #BA7F51
triadic
#BA5158 #58BA51 #5158BA
tetradic
#BA5158 #8DBA51 #51BAB3 #7F51BA
square
#BA5158 #8DBA51 #51BAB3 #7F51BA
split-complementary
#BA5158 #51BA7F #518DBA
monochromatic
#68292D #933A40 #BA5158 #CB7D82 #DDA9AC

Accessibility & contrast

On white

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

On black

4.41
#BA5158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA5158#FFFFFF#000000##FFFFFF
##BA51581.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696558
Deuteranopia (green-blind)
#847B56
Tritanopia (blue-blind)
#CA4154
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba5158;
/* rgb */ color: rgb(186, 81, 88);
/* oklch */ color: oklch(57.1% 0.136 18.4);
Tailwind
colors: {
  custom: {
    50: '#d48587',
    500: '#ba5158',
    950: '#000000',
  },
}
SCSS
$custom: #ba5158;
$custom-light: #d48587;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5158",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.13591,
    "h": 18.4
  },
  "luminance": 0.17029
}

Semantic roles & 50–950 ramp

primary
#BA5158
secondary
#9DCAC7
accent
#D3CB55
background
#FDF8F8
surface
#FBF0EF
border
#D4CBCA
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #BA5158

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

Preview Lab → · Contrast checker → · Palette generator →

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