#BA505D#BA505D

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

Color values

HEX#BA505D
RGBrgb(186, 80, 93)
HSLhsl(353, 43%, 52%)
HSVhsv(353, 57%, 73%)
CMYKcmyk(0%, 57%, 50%, 27.1%)
CIE-LABlab(48.22, 43.95, 14.03)
CIE-LCHlch(48.22, 46.13, 17.70°)
OKLaboklab(57.07% 0.1325 0.0356)
OKLCHoklch(57.07% 0.137 15)
XYZxyz(25.0960, 16.9697, 12.3077)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA505D #50BAAD
analogous
#BA5092 #BA505D #BA7850
triadic
#BA505D #5DBA50 #505DBA
tetradic
#BA505D #92BA50 #50BAAD #7850BA
square
#BA505D #92BA50 #50BAAD #7850BA
split-complementary
#BA505D #50BA78 #5092BA
monochromatic
#672930 #933A45 #BA505D #CB7C86 #DDA8AE

Accessibility & contrast

On white

4.78
#BA505D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA505D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA505D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA505D#FFFFFF#000000##FFFFFF
##BA505D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67655D
Deuteranopia (green-blind)
#827B5B
Tritanopia (blue-blind)
#CA4155
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba505d;
/* rgb */ color: rgb(186, 80, 93);
/* oklch */ color: oklch(57.1% 0.137 15.0);
Tailwind
colors: {
  custom: {
    50: '#d3858a',
    500: '#ba505d',
    950: '#000000',
  },
}
SCSS
$custom: #ba505d;
$custom-light: #d3858a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba505d",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 93
  },
  "hsl": {
    "h": 352.642,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.13718,
    "h": 15
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#BA505D
secondary
#9CCAC4
accent
#D3C455
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #BA505D

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

Preview Lab → · Contrast checker → · Palette generator →

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