#BA206E#BA206E

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

Color values

HEX#BA206E
RGBrgb(186, 32, 110)
HSLhsl(330, 71%, 43%)
HSVhsv(330, 83%, 73%)
CMYKcmyk(0%, 82.8%, 40.9%, 27.1%)
CIE-LABlab(42.16, 63.51, -5.14)
CIE-LCHlch(42.16, 63.72, 355.38°)
OKLaboklab(52.72% 0.1956 -0.0127)
OKLCHoklch(52.72% 0.196 356.3)
XYZxyz(23.5824, 12.6010, 15.9392)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA206E #20BA6C
analogous
#B920BA #BA206E #BA2021
triadic
#BA206E #6EBA20 #206EBA
tetradic
#BA206E #BAB920 #20BA6C #2021BA
square
#BA206E #BAB920 #20BA6C #2021BA
split-complementary
#BA206E #21BA20 #20BAB9
monochromatic
#520E30 #86174F #BA206E #DD3A8D #E66EAB

Accessibility & contrast

On white

5.97
#BA206E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA206E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA206E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA206E#FFFFFF#000000##FFFFFF
##BA206E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#6E6E6B
Tritanopia (blue-blind)
#CA0045
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba206e;
/* rgb */ color: rgb(186, 32, 110);
/* oklch */ color: oklch(52.7% 0.196 356.3);
Tailwind
colors: {
  custom: {
    50: '#d46f97',
    500: '#ba206e',
    950: '#000000',
  },
}
SCSS
$custom: #ba206e;
$custom-light: #d46f97;
$custom-dark: #000000;
JSON
{
  "hex": "#ba206e",
  "rgb": {
    "r": 186,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 329.61,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.19602,
    "h": 356.3
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#BA206E
secondary
#69CC9A
accent
#ED933A
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #BA206E

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

Preview Lab → · Contrast checker → · Palette generator →

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