#BA55A2#BA55A2

#BA55A2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.1% C 0.159 H 337.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA55A2
RGBrgb(186, 85, 162)
HSLhsl(314, 42%, 53%)
HSVhsv(314, 54%, 73%)
CMYKcmyk(0%, 54.3%, 12.9%, 27.1%)
CIE-LABlab(51.32, 50.33, -22.69)
CIE-LCHlch(51.32, 55.21, 335.73°)
OKLaboklab(60.1% 0.1472 -0.0612)
OKLCHoklch(60.1% 0.159 337.4)
XYZxyz(30.0201, 19.5470, 36.3672)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55A2 #55BA6D
analogous
#9F55BA #BA55A2 #BA5570
triadic
#BA55A2 #A2BA55 #55A2BA
tetradic
#BA55A2 #BA9F55 #55BA6D #5570BA
square
#BA55A2 #BA9F55 #55BA6D #5570BA
split-complementary
#BA55A2 #70BA55 #55BA9F
monochromatic
#6A2B5B #953D80 #BA55A2 #CC81BA #DDACD2

Accessibility & contrast

On white

4.28
#BA55A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BA55A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55A2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55A2#FFFFFF#000000##000000
##BA55A21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#74809F
Tritanopia (blue-blind)
#C35974
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba55a2;
/* rgb */ color: rgb(186, 85, 162);
/* oklch */ color: oklch(60.1% 0.159 337.4);
Tailwind
colors: {
  custom: {
    50: '#d189bd',
    500: '#ba55a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba55a2;
$custom-light: #d189bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55a2",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 314.257,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.15945,
    "h": 337.4
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#BA55A2
secondary
#A0CBAA
accent
#D27356
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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