#BA2B92#BA2B92

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

Color values

HEX#BA2B92
RGBrgb(186, 43, 146)
HSLhsl(317, 62%, 45%)
HSVhsv(317, 77%, 73%)
CMYKcmyk(0%, 76.9%, 21.5%, 27.1%)
CIE-LABlab(44.58, 64.70, -23.56)
CIE-LCHlch(44.58, 68.86, 339.99°)
OKLaboklab(54.94% 0.1945 -0.0633)
OKLCHoklch(54.94% 0.205 342)
XYZxyz(26.3028, 14.2449, 28.5529)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B92 #2BBA53
analogous
#9A2BBA #BA2B92 #BA2B4B
triadic
#BA2B92 #92BA2B #2B92BA
tetradic
#BA2B92 #BA9A2B #2BBA53 #2B4BBA
square
#BA2B92 #BA9A2B #2BBA53 #2B4BBA
split-complementary
#BA2B92 #4BBA2B #2BBA9A
monochromatic
#571444 #88206B #BA2B92 #D64CAF #E17EC6

Accessibility & contrast

On white

5.46
#BA2B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA2B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B92
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B92#FFFFFF#000000##FFFFFF
##BA2B921.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2b92;
/* rgb */ color: rgb(186, 43, 146);
/* oklch */ color: oklch(54.9% 0.205 342.0);
Tailwind
colors: {
  custom: {
    50: '#d374b2',
    500: '#ba2b92',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b92;
$custom-light: #d374b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b92",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 316.783,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.20452,
    "h": 342
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#BA2B92
secondary
#77CA8E
accent
#E67042
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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