#BA206C#BA206C

#BA206C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.195 H 357.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA206C
RGBrgb(186, 32, 108)
HSLhsl(330, 71%, 43%)
HSVhsv(330, 83%, 73%)
CMYKcmyk(0%, 82.8%, 41.9%, 27.1%)
CIE-LABlab(42.09, 63.32, -3.99)
CIE-LCHlch(42.09, 63.45, 356.40°)
OKLaboklab(52.65% 0.195 -0.0097)
OKLCHoklch(52.65% 0.195 357.2)
XYZxyz(23.4748, 12.5580, 15.3722)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA206C #20BA6E
analogous
#BA20B9 #BA206C #BA2120
triadic
#BA206C #6CBA20 #206CBA
tetradic
#BA206C #B9BA20 #20BA6E #2120BA
square
#BA206C #B9BA20 #20BA6E #2120BA
split-complementary
#BA206C #20BA21 #20B9BA
monochromatic
#520E2F #86174E #BA206C #DD3A8B #E66EA9

Accessibility & contrast

On white

5.98
#BA206C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA206C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA206C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA206C#FFFFFF#000000##FFFFFF
##BA206C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#6F6D69
Tritanopia (blue-blind)
#CA0044
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba206c;
/* rgb */ color: rgb(186, 32, 108);
/* oklch */ color: oklch(52.7% 0.195 357.2);
Tailwind
colors: {
  custom: {
    50: '#d46f96',
    500: '#ba206c',
    950: '#000000',
  },
}
SCSS
$custom: #ba206c;
$custom-light: #d46f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ba206c",
  "rgb": {
    "r": 186,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 330.39,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.19525,
    "h": 357.2
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#BA206C
secondary
#69CC9C
accent
#ED953A
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #BA206C

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

Preview Lab → · Contrast checker → · Palette generator →

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