#BA2A92#BA2A92

#BA2A92 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.205 H 341.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA2A92
RGBrgb(186, 42, 146)
HSLhsl(317, 63%, 45%)
HSVhsv(317, 77%, 73%)
CMYKcmyk(0%, 77.4%, 21.5%, 27.1%)
CIE-LABlab(44.48, 64.99, -23.72)
CIE-LCHlch(44.48, 69.18, 339.95°)
OKLaboklab(54.87% 0.1954 -0.0638)
OKLCHoklch(54.87% 0.206 341.9)
XYZxyz(26.2669, 14.1731, 28.5409)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A92 #2ABA52
analogous
#9A2ABA #BA2A92 #BA2A4A
triadic
#BA2A92 #92BA2A #2A92BA
tetradic
#BA2A92 #BA9A2A #2ABA52 #2A4ABA
square
#BA2A92 #BA9A2A #2ABA52 #2A4ABA
split-complementary
#BA2A92 #4ABA2A #2ABA9A
monochromatic
#561344 #881F6B #BA2A92 #D64BB0 #E27DC6

Accessibility & contrast

On white

5.48
#BA2A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A92
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A92#FFFFFF#000000##FFFFFF
##BA2A921.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A95
Deuteranopia (green-blind)
#67728F
Tritanopia (blue-blind)
#C62C5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2a92;
/* rgb */ color: rgb(186, 42, 146);
/* oklch */ color: oklch(54.9% 0.205 341.9);
Tailwind
colors: {
  custom: {
    50: '#d373b2',
    500: '#ba2a92',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a92;
$custom-light: #d373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a92",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 316.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.2055,
    "h": 341.9
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#BA2A92
secondary
#76CA8D
accent
#E66F42
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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