#BA2B93#BA2B93

#BA2B93 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.0% C 0.205 H 341.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA2B93
RGBrgb(186, 43, 147)
HSLhsl(316, 62%, 45%)
HSVhsv(316, 77%, 73%)
CMYKcmyk(0%, 76.9%, 21%, 27.1%)
CIE-LABlab(44.63, 64.83, -24.10)
CIE-LCHlch(44.63, 69.17, 339.61°)
OKLaboklab(54.99% 0.1946 -0.0648)
OKLCHoklch(54.99% 0.205 341.6)
XYZxyz(26.3809, 14.2762, 28.9644)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B93 #2BBA52
analogous
#9A2BBA #BA2B93 #BA2B4B
triadic
#BA2B93 #93BA2B #2B93BA
tetradic
#BA2B93 #BA9A2B #2BBA52 #2B4BBA
square
#BA2B93 #BA9A2B #2BBA52 #2B4BBA
split-complementary
#BA2B93 #4BBA2B #2BBA9A
monochromatic
#571444 #88206C #BA2B93 #D64CB0 #E17EC6

Accessibility & contrast

On white

5.45
#BA2B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B93
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B93#FFFFFF#000000##FFFFFF
##BA2B931.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B96
Deuteranopia (green-blind)
#677290
Tritanopia (blue-blind)
#C62E5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2b93;
/* rgb */ color: rgb(186, 43, 147);
/* oklch */ color: oklch(55.0% 0.205 341.6);
Tailwind
colors: {
  custom: {
    50: '#d374b3',
    500: '#ba2b93',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b93;
$custom-light: #d374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b93",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 316.364,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.20513,
    "h": 341.6
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#BA2B93
secondary
#77CA8E
accent
#E66F42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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