#BA505E#BA505E

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

Color values

HEX#BA505E
RGBrgb(186, 80, 94)
HSLhsl(352, 43%, 52%)
HSVhsv(352, 57%, 73%)
CMYKcmyk(0%, 57%, 49.5%, 27.1%)
CIE-LABlab(48.24, 44.04, 13.45)
CIE-LCHlch(48.24, 46.05, 16.98°)
OKLaboklab(57.09% 0.1329 0.0342)
OKLCHoklch(57.09% 0.137 14.4)
XYZxyz(25.1406, 16.9875, 12.5425)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA505E #50BAAC
analogous
#BA5093 #BA505E #BA7750
triadic
#BA505E #5EBA50 #505EBA
tetradic
#BA505E #93BA50 #50BAAC #7750BA
square
#BA505E #93BA50 #50BAAC #7750BA
split-complementary
#BA505E #50BA77 #5093BA
monochromatic
#672931 #933A46 #BA505E #CB7C86 #DDA8AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA505E#FFFFFF#000000##FFFFFF
##BA505E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba505e;
/* rgb */ color: rgb(186, 80, 94);
/* oklch */ color: oklch(57.1% 0.137 14.4);
Tailwind
colors: {
  custom: {
    50: '#d3858b',
    500: '#ba505e',
    950: '#000000',
  },
}
SCSS
$custom: #ba505e;
$custom-light: #d3858b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba505e",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 94
  },
  "hsl": {
    "h": 352.075,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.13722,
    "h": 14.4
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#BA505E
secondary
#9CCAC4
accent
#D3C255
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA505E

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

Preview Lab → · Contrast checker → · Palette generator →

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