#BA515E#BA515E

#BA515E is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.2% C 0.136 H 14.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA515E
RGBrgb(186, 81, 94)
HSLhsl(353, 43%, 52%)
HSVhsv(353, 56%, 73%)
CMYKcmyk(0%, 56.5%, 49.5%, 27.1%)
CIE-LABlab(48.43, 43.56, 13.71)
CIE-LCHlch(48.43, 45.66, 17.47°)
OKLaboklab(57.23% 0.1314 0.0348)
OKLCHoklch(57.23% 0.136 14.8)
XYZxyz(25.2144, 17.1350, 12.5671)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA515E #51BAAD
analogous
#BA5193 #BA515E #BA7851
triadic
#BA515E #5EBA51 #515EBA
tetradic
#BA515E #93BA51 #51BAAD #7851BA
square
#BA515E #93BA51 #51BAAD #7851BA
split-complementary
#BA515E #51BA78 #5193BA
monochromatic
#682931 #933A45 #BA515E #CB7D87 #DDA9AF

Accessibility & contrast

On white

4.74
#BA515E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA515E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA515E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA515E#FFFFFF#000000##FFFFFF
##BA515E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68665E
Deuteranopia (green-blind)
#837B5C
Tritanopia (blue-blind)
#CA4256
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba515e;
/* rgb */ color: rgb(186, 81, 94);
/* oklch */ color: oklch(57.2% 0.136 14.8);
Tailwind
colors: {
  custom: {
    50: '#d3868b',
    500: '#ba515e',
    950: '#000000',
  },
}
SCSS
$custom: #ba515e;
$custom-light: #d3868b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba515e",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 94
  },
  "hsl": {
    "h": 352.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.1359,
    "h": 14.8
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#BA515E
secondary
#9DCAC5
accent
#D3C355
background
#FDF8F8
surface
#FBF0F0
border
#D4CBCB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA515E

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

Preview Lab → · Contrast checker → · Palette generator →

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