#BA505F#BA505F

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

Color values

HEX#BA505F
RGBrgb(186, 80, 95)
HSLhsl(352, 43%, 52%)
HSVhsv(352, 57%, 73%)
CMYKcmyk(0%, 57%, 48.9%, 27.1%)
CIE-LABlab(48.27, 44.14, 12.88)
CIE-LCHlch(48.27, 45.98, 16.27°)
OKLaboklab(57.12% 0.1333 0.0328)
OKLCHoklch(57.12% 0.137 13.8)
XYZxyz(25.1858, 17.0056, 12.7803)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA505F #50BAAB
analogous
#BA5094 #BA505F #BA7650
triadic
#BA505F #5FBA50 #505FBA
tetradic
#BA505F #94BA50 #50BAAB #7650BA
square
#BA505F #94BA50 #50BAAB #7650BA
split-complementary
#BA505F #50BA76 #5094BA
monochromatic
#672931 #933A47 #BA505F #CB7C87 #DDA8AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA505F#FFFFFF#000000##FFFFFF
##BA505F1.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)
#67655F
Deuteranopia (green-blind)
#827B5D
Tritanopia (blue-blind)
#CA4156
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba505f;
/* rgb */ color: rgb(186, 80, 95);
/* oklch */ color: oklch(57.1% 0.137 13.8);
Tailwind
colors: {
  custom: {
    50: '#d3858c',
    500: '#ba505f',
    950: '#000000',
  },
}
SCSS
$custom: #ba505f;
$custom-light: #d3858c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba505f",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 351.509,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.13727,
    "h": 13.8
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#BA505F
secondary
#9CCAC3
accent
#D3C155
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA505F

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

Preview Lab → · Contrast checker → · Palette generator →

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