#BA5054#BA5054

#BA5054 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.9% C 0.137 H 20.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA5054
RGBrgb(186, 80, 84)
HSLhsl(358, 43%, 52%)
HSVhsv(358, 57%, 73%)
CMYKcmyk(0%, 57%, 54.8%, 27.1%)
CIE-LABlab(48.03, 43.16, 19.18)
CIE-LCHlch(48.03, 47.23, 23.96°)
OKLaboklab(56.86% 0.1289 0.0475)
OKLCHoklch(56.86% 0.137 20.2)
XYZxyz(24.7206, 16.8195, 10.3305)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5054 #50BAB6
analogous
#BA5089 #BA5054 #BA8150
triadic
#BA5054 #54BA50 #5054BA
tetradic
#BA5054 #89BA50 #50BAB6 #8150BA
square
#BA5054 #89BA50 #50BAB6 #8150BA
split-complementary
#BA5054 #50BA81 #5089BA
monochromatic
#67292B #933A3D #BA5054 #CB7C7F #DDA8AA

Accessibility & contrast

On white

4.81
#BA5054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA5054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5054
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5054#FFFFFF#000000##FFFFFF
##BA50541.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696453
Deuteranopia (green-blind)
#847A52
Tritanopia (blue-blind)
#CB3F52
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5054;
/* rgb */ color: rgb(186, 80, 84);
/* oklch */ color: oklch(56.9% 0.137 20.2);
Tailwind
colors: {
  custom: {
    50: '#d48584',
    500: '#ba5054',
    950: '#000000',
  },
}
SCSS
$custom: #ba5054;
$custom-light: #d48584;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5054",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 84
  },
  "hsl": {
    "h": 357.736,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.13737,
    "h": 20.2
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#BA5054
secondary
#9CCAC8
accent
#D3CE55
background
#FDF8F8
surface
#FBEFEF
border
#D4CACA
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA5054

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

Preview Lab → · Contrast checker → · Palette generator →

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