#BA5CA2#BA5CA2

#BA5CA2 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.1% C 0.148 H 337.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA5CA2
RGBrgb(186, 92, 162)
HSLhsl(315, 41%, 55%)
HSVhsv(315, 51%, 73%)
CMYKcmyk(0%, 50.5%, 12.9%, 27.1%)
CIE-LABlab(52.62, 46.89, -20.69)
CIE-LCHlch(52.62, 51.25, 336.19°)
OKLaboklab(61.06% 0.1371 -0.0557)
OKLCHoklch(61.06% 0.148 337.9)
XYZxyz(30.5987, 20.7042, 36.5601)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CA2 #5CBA74
analogous
#A35CBA #BA5CA2 #BA5C73
triadic
#BA5CA2 #A2BA5C #5CA2BA
tetradic
#BA5CA2 #BAA35C #5CBA74 #5C73BA
square
#BA5CA2 #BAA35C #5CBA74 #5C73BA
split-complementary
#BA5CA2 #73BA5C #5CBAA3
monochromatic
#6D2E5D #984082 #BA5CA2 #CC87BB #DEB2D3

Accessibility & contrast

On white

4.09
#BA5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA5CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CA2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CA2#FFFFFF#000000##000000
##BA5CA21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#C35F77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba5ca2;
/* rgb */ color: rgb(186, 92, 162);
/* oklch */ color: oklch(61.1% 0.148 337.9);
Tailwind
colors: {
  custom: {
    50: '#d18dbd',
    500: '#ba5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ca2;
$custom-light: #d18dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ca2",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 315.319,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.14796,
    "h": 337.9
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#BA5CA2
secondary
#A5CDAF
accent
#D07657
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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