#BA505C#BA505C

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

Color values

HEX#BA505C
RGBrgb(186, 80, 92)
HSLhsl(353, 43%, 52%)
HSVhsv(353, 57%, 73%)
CMYKcmyk(0%, 57%, 50.5%, 27.1%)
CIE-LABlab(48.20, 43.86, 14.60)
CIE-LCHlch(48.20, 46.22, 18.41°)
OKLaboklab(57.04% 0.1321 0.0369)
OKLCHoklch(57.04% 0.137 15.6)
XYZxyz(25.0520, 16.9521, 12.0759)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA505C #50BAAE
analogous
#BA5091 #BA505C #BA7950
triadic
#BA505C #5CBA50 #505CBA
tetradic
#BA505C #91BA50 #50BAAE #7950BA
square
#BA505C #91BA50 #50BAAE #7950BA
split-complementary
#BA505C #50BA79 #5091BA
monochromatic
#672930 #933A44 #BA505C #CB7C85 #DDA8AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA505C#FFFFFF#000000##FFFFFF
##BA505C1.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)
#68655C
Deuteranopia (green-blind)
#827B5A
Tritanopia (blue-blind)
#CA4055
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba505c;
/* rgb */ color: rgb(186, 80, 92);
/* oklch */ color: oklch(57.0% 0.137 15.6);
Tailwind
colors: {
  custom: {
    50: '#d3858a',
    500: '#ba505c',
    950: '#000000',
  },
}
SCSS
$custom: #ba505c;
$custom-light: #d3858a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba505c",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 92
  },
  "hsl": {
    "h": 353.208,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.13715,
    "h": 15.6
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#BA505C
secondary
#9CCAC5
accent
#D3C555
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #BA505C

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

Preview Lab → · Contrast checker → · Palette generator →

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