#BA7FA9#BA7FA9

#BA7FA9 is a light, moderate pink. Relative luminance 0.285; OKLCH L 67.0% C 0.092 H 337.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA7FA9
RGBrgb(186, 127, 169)
HSLhsl(317, 30%, 61%)
HSVhsv(317, 32%, 73%)
CMYKcmyk(0%, 31.7%, 9.1%, 27.1%)
CIE-LABlab(60.32, 29.40, -13.05)
CIE-LCHlch(60.32, 32.17, 336.07°)
OKLaboklab(66.95% 0.0849 -0.0348)
OKLCHoklch(66.95% 0.092 337.7)
XYZxyz(35.0003, 28.4840, 41.1828)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7FA9 #7FBA90
analogous
#AE7FBA #BA7FA9 #BA7F8C
triadic
#BA7FA9 #A9BA7F #7FA9BA
tetradic
#BA7FA9 #BAAE7F #7FBA90 #7F8CBA
square
#BA7FA9 #BAAE7F #7FBA90 #7F8CBA
split-complementary
#BA7FA9 #8CBA7F #7FBAAE
monochromatic
#7C436B #A4588E #BA7FA9 #CFA7C4 #E5CFDE

Accessibility & contrast

On white

3.14
#BA7FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA7FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7FA9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7FA9#FFFFFF#000000##000000
##BA7FA91.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAB
Deuteranopia (green-blind)
#8E95A7
Tritanopia (blue-blind)
#C0808E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba7fa9;
/* rgb */ color: rgb(186, 127, 169);
/* oklch */ color: oklch(67.0% 0.092 337.7);
Tailwind
colors: {
  custom: {
    50: '#cfa5c2',
    500: '#ba7fa9',
    950: '#000000',
  },
}
SCSS
$custom: #ba7fa9;
$custom-light: #cfa5c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7fa9",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 317.288,
    "s": 29.949,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66951,
    "c": 0.09173,
    "h": 337.7
  },
  "luminance": 0.28482
}

Semantic roles & 50–950 ramp

primary
#BA7FA9
secondary
#BFD5C6
accent
#A95C3D
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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