#BA6EA2#BA6EA2

#BA6EA2 is a light, moderate pink. Relative luminance 0.242; OKLCH L 63.8% C 0.117 H 339.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA6EA2
RGBrgb(186, 110, 162)
HSLhsl(319, 36%, 58%)
HSVhsv(319, 41%, 73%)
CMYKcmyk(0%, 40.9%, 12.9%, 27.1%)
CIE-LABlab(56.29, 37.50, -15.11)
CIE-LCHlch(56.29, 40.43, 338.06°)
OKLaboklab(63.81% 0.1096 -0.0403)
OKLCHoklch(63.81% 0.117 339.8)
XYZxyz(32.3474, 24.2015, 37.1430)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EA2 #6EBA86
analogous
#AC6EBA #BA6EA2 #BA6E7C
triadic
#BA6EA2 #A2BA6E #6EA2BA
tetradic
#BA6EA2 #BAAC6E #6EBA86 #6E7CBA
square
#BA6EA2 #BAAC6E #6EBA86 #6E7CBA
split-complementary
#BA6EA2 #7CBA6E #6EBAAC
monochromatic
#763862 #9F4C85 #BA6EA2 #CE97BD #E1C1D7

Accessibility & contrast

On white

3.60
#BA6EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#BA6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EA2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EA2#FFFFFF#000000##000000
##BA6EA21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A4
Deuteranopia (green-blind)
#848BA0
Tritanopia (blue-blind)
#C26F81
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6ea2;
/* rgb */ color: rgb(186, 110, 162);
/* oklch */ color: oklch(63.8% 0.117 339.8);
Tailwind
colors: {
  custom: {
    50: '#d099bd',
    500: '#ba6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ea2;
$custom-light: #d099bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ea2",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 318.947,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63811,
    "c": 0.11678,
    "h": 339.8
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#BA6EA2
secondary
#B3D1BC
accent
#CC7F5C
background
#FCF9FB
surface
#F9F2F6
border
#D2CCD0
text
#140E12
muted
#827E81

Preview Lab

Preview with #BA6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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