#BA206B#BA206B

#BA206B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.195 H 357.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA206B
RGBrgb(186, 32, 107)
HSLhsl(331, 71%, 43%)
HSVhsv(331, 83%, 73%)
CMYKcmyk(0%, 82.8%, 42.5%, 27.1%)
CIE-LABlab(42.06, 63.23, -3.41)
CIE-LCHlch(42.06, 63.32, 356.91°)
OKLaboklab(52.62% 0.1947 -0.0082)
OKLCHoklch(52.62% 0.195 357.6)
XYZxyz(23.4219, 12.5368, 15.0936)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA206B #20BA6F
analogous
#BA20B8 #BA206B #BA2220
triadic
#BA206B #6BBA20 #206BBA
tetradic
#BA206B #B8BA20 #20BA6F #2220BA
square
#BA206B #B8BA20 #20BA6F #2220BA
split-complementary
#BA206B #20BA22 #20B8BA
monochromatic
#520E2F #86174D #BA206B #DD3A89 #E66EA9

Accessibility & contrast

On white

5.99
#BA206B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA206B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA206B#FFFFFF#000000##FFFFFF
##BA206B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba206b;
/* rgb */ color: rgb(186, 32, 107);
/* oklch */ color: oklch(52.6% 0.195 357.6);
Tailwind
colors: {
  custom: {
    50: '#d46f95',
    500: '#ba206b',
    950: '#000000',
  },
}
SCSS
$custom: #ba206b;
$custom-light: #d46f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ba206b",
  "rgb": {
    "r": 186,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 330.779,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.19487,
    "h": 357.6
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA206B

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

Preview Lab → · Contrast checker → · Palette generator →

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