#BA2B90#BA2B90

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

Color values

HEX#BA2B90
RGBrgb(186, 43, 144)
HSLhsl(318, 62%, 45%)
HSVhsv(318, 77%, 73%)
CMYKcmyk(0%, 76.9%, 22.6%, 27.1%)
CIE-LABlab(44.49, 64.44, -22.49)
CIE-LCHlch(44.49, 68.25, 340.76°)
OKLaboklab(54.85% 0.1942 -0.0603)
OKLCHoklch(54.85% 0.203 342.7)
XYZxyz(26.1486, 14.1832, 27.7407)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B90 #2BBA55
analogous
#9C2BBA #BA2B90 #BA2B49
triadic
#BA2B90 #90BA2B #2B90BA
tetradic
#BA2B90 #BA9C2B #2BBA55 #2B49BA
square
#BA2B90 #BA9C2B #2BBA55 #2B49BA
split-complementary
#BA2B90 #49BA2B #2BBA9C
monochromatic
#571443 #88206A #BA2B90 #D64CAD #E17EC4

Accessibility & contrast

On white

5.47
#BA2B90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA2B90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B90
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B90#FFFFFF#000000##FFFFFF
##BA2B901.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A93
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#C62C5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2b90;
/* rgb */ color: rgb(186, 43, 144);
/* oklch */ color: oklch(54.9% 0.203 342.7);
Tailwind
colors: {
  custom: {
    50: '#d374b0',
    500: '#ba2b90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b90;
$custom-light: #d374b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b90",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 317.622,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.2033,
    "h": 342.7
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#BA2B90
secondary
#77CA8F
accent
#E67242
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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