#BA6479#BA6479

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

Color values

HEX#BA6479
RGBrgb(186, 100, 121)
HSLhsl(345, 38%, 56%)
HSVhsv(345, 46%, 73%)
CMYKcmyk(0%, 46.2%, 34.9%, 27.1%)
CIE-LABlab(52.88, 36.82, 3.87)
CIE-LCHlch(52.88, 37.02, 6.00°)
OKLaboklab(60.81% 0.1118 0.0105)
OKLCHoklch(60.81% 0.112 5.4)
XYZxyz(28.2593, 20.9364, 20.6383)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6479 #64BAA5
analogous
#BA64A4 #BA6479 #BA7A64
triadic
#BA6479 #79BA64 #6479BA
tetradic
#BA6479 #A4BA64 #64BAA5 #7A64BA
square
#BA6479 #A4BA64 #64BAA5 #7A64BA
split-complementary
#BA6479 #64BA7A #64A4BA
monochromatic
#713242 #9C455A #BA6479 #CD8E9E #E0B9C2

Accessibility & contrast

On white

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

On black

5.19
#BA6479 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6479
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6479#FFFFFF#000000##000000
##BA64791.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#C75D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba6479;
/* rgb */ color: rgb(186, 100, 121);
/* oklch */ color: oklch(60.8% 0.112 5.4);
Tailwind
colors: {
  custom: {
    50: '#d1929f',
    500: '#ba6479',
    950: '#000000',
  },
}
SCSS
$custom: #ba6479;
$custom-light: #d1929f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6479",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 121
  },
  "hsl": {
    "h": 345.349,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.11224,
    "h": 5.4
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6479

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

Preview Lab → · Contrast checker → · Palette generator →

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