#BA2992#BA2992

#BA2992 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.206 H 341.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA2992
RGBrgb(186, 41, 146)
HSLhsl(317, 64%, 45%)
HSVhsv(317, 78%, 73%)
CMYKcmyk(0%, 78%, 21.5%, 27.1%)
CIE-LABlab(44.38, 65.28, -23.88)
CIE-LCHlch(44.38, 69.51, 339.91°)
OKLaboklab(54.8% 0.1962 -0.0642)
OKLCHoklch(54.8% 0.206 341.9)
XYZxyz(26.2319, 14.1031, 28.5293)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2992 #29BA51
analogous
#9A29BA #BA2992 #BA2949
triadic
#BA2992 #92BA29 #2992BA
tetradic
#BA2992 #BA9A29 #29BA51 #2949BA
square
#BA2992 #BA9A29 #29BA51 #2949BA
split-complementary
#BA2992 #49BA29 #29BA9A
monochromatic
#561343 #881E6B #BA2992 #D749B0 #E27BC6

Accessibility & contrast

On white

5.50
#BA2992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA2992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2992
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2992#FFFFFF#000000##FFFFFF
##BA29921.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#C62B5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2992;
/* rgb */ color: rgb(186, 41, 146);
/* oklch */ color: oklch(54.8% 0.206 341.9);
Tailwind
colors: {
  custom: {
    50: '#d373b2',
    500: '#ba2992',
    950: '#000000',
  },
}
SCSS
$custom: #ba2992;
$custom-light: #d373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2992",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 316.552,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.20646,
    "h": 341.9
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#BA2992
secondary
#75CA8C
accent
#E76F41
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2992

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

Preview Lab → · Contrast checker → · Palette generator →

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