#BA6478#BA6478

#BA6478 is a mid, moderate red. Relative luminance 0.209; OKLCH L 60.8% C 0.112 H 6.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA6478
RGBrgb(186, 100, 120)
HSLhsl(346, 38%, 56%)
HSVhsv(346, 46%, 73%)
CMYKcmyk(0%, 46.2%, 35.5%, 27.1%)
CIE-LABlab(52.85, 36.70, 4.43)
CIE-LCHlch(52.85, 36.96, 6.88°)
OKLaboklab(60.78% 0.1114 0.0119)
OKLCHoklch(60.78% 0.112 6.1)
XYZxyz(28.1983, 20.9120, 20.3170)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6478 #64BAA6
analogous
#BA64A3 #BA6478 #BA7B64
triadic
#BA6478 #78BA64 #6478BA
tetradic
#BA6478 #A3BA64 #64BAA6 #7B64BA
square
#BA6478 #A3BA64 #64BAA6 #7B64BA
split-complementary
#BA6478 #64BA7B #64A3BA
monochromatic
#713241 #9C4559 #BA6478 #CD8E9D #E0B9C2

Accessibility & contrast

On white

4.05
#BA6478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BA6478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6478
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6478#FFFFFF#000000##000000
##BA64781.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#737479
Deuteranopia (green-blind)
#888476
Tritanopia (blue-blind)
#C75C6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba6478;
/* rgb */ color: rgb(186, 100, 120);
/* oklch */ color: oklch(60.8% 0.112 6.1);
Tailwind
colors: {
  custom: {
    50: '#d1929e',
    500: '#ba6478',
    950: '#000000',
  },
}
SCSS
$custom: #ba6478;
$custom-light: #d1929e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6478",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 120
  },
  "hsl": {
    "h": 346.047,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.11201,
    "h": 6.1
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#BA6478
secondary
#ABCFC6
accent
#CEB359
background
#FDF9F9
surface
#FAF1F2
border
#D3CBCC
text
#140D0E
muted
#837E7E

Preview Lab

Preview with #BA6478

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

Preview Lab → · Contrast checker → · Palette generator →

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