#BA599D#BA599D

#BA599D is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.4% C 0.149 H 340.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA599D
RGBrgb(186, 89, 157)
HSLhsl(318, 41%, 54%)
HSVhsv(318, 52%, 73%)
CMYKcmyk(0%, 52.2%, 15.6%, 27.1%)
CIE-LABlab(51.86, 47.58, -18.93)
CIE-LCHlch(51.86, 51.21, 338.31°)
OKLaboklab(60.43% 0.1403 -0.0507)
OKLCHoklch(60.43% 0.149 340.1)
XYZxyz(29.9083, 20.0204, 34.1808)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA599D #59BA76
analogous
#A759BA #BA599D #BA596D
triadic
#BA599D #9DBA59 #599DBA
tetradic
#BA599D #BAA759 #59BA76 #596DBA
square
#BA599D #BAA759 #59BA76 #596DBA
split-complementary
#BA599D #6DBA59 #59BAA7
monochromatic
#6C2D59 #973F7D #BA599D #CC84B7 #DEAFD0

Accessibility & contrast

On white

4.20
#BA599D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA599D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA599D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA599D#FFFFFF#000000##000000
##BA599D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E729F
Deuteranopia (green-blind)
#78819A
Tritanopia (blue-blind)
#C35B74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba599d;
/* rgb */ color: rgb(186, 89, 157);
/* oklch */ color: oklch(60.4% 0.149 340.1);
Tailwind
colors: {
  custom: {
    50: '#d18cba',
    500: '#ba599d',
    950: '#000000',
  },
}
SCSS
$custom: #ba599d;
$custom-light: #d18cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba599d",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 317.938,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.14917,
    "h": 340.1
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#BA599D
secondary
#A3CCAF
accent
#D17B57
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA599D

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

Preview Lab → · Contrast checker → · Palette generator →

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