#BA6781#BA6781

#BA6781 is a mid, moderate pink. Relative luminance 0.217; OKLCH L 61.5% C 0.110 H 0.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA6781
RGBrgb(186, 103, 129)
HSLhsl(341, 38%, 57%)
HSVhsv(341, 45%, 73%)
CMYKcmyk(0%, 44.6%, 30.6%, 27.1%)
CIE-LABlab(53.74, 36.27, 0.39)
CIE-LCHlch(53.74, 36.27, 0.62°)
OKLaboklab(61.53% 0.1099 0.0015)
OKLCHoklch(61.53% 0.11 0.8)
XYZxyz(29.0635, 21.7270, 23.4276)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6781 #67BAA0
analogous
#BA67AB #BA6781 #BA7767
triadic
#BA6781 #81BA67 #6781BA
tetradic
#BA6781 #ABBA67 #67BAA0 #7767BA
square
#BA6781 #ABBA67 #67BAA0 #7767BA
split-complementary
#BA6781 #67BA77 #67ABBA
monochromatic
#733448 #9D4762 #BA6781 #CD91A4 #E0BBC7

Accessibility & contrast

On white

3.93
#BA6781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#BA6781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6781
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6781#FFFFFF#000000##000000
##BA67811.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#737782
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#C66170
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba6781;
/* rgb */ color: rgb(186, 103, 129);
/* oklch */ color: oklch(61.5% 0.110 0.8);
Tailwind
colors: {
  custom: {
    50: '#d194a5',
    500: '#ba6781',
    950: '#000000',
  },
}
SCSS
$custom: #ba6781;
$custom-light: #d194a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6781",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 341.205,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.10987,
    "h": 0.8
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#BA6781
secondary
#ADCFC5
accent
#CEA95A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D0F
muted
#837E7F

Preview Lab

Preview with #BA6781

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

Preview Lab → · Contrast checker → · Palette generator →

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