#BA2A90#BA2A90

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

Color values

HEX#BA2A90
RGBrgb(186, 42, 144)
HSLhsl(318, 63%, 45%)
HSVhsv(318, 77%, 73%)
CMYKcmyk(0%, 77.4%, 22.6%, 27.1%)
CIE-LABlab(44.39, 64.73, -22.65)
CIE-LCHlch(44.39, 68.58, 340.72°)
OKLaboklab(54.78% 0.1951 -0.0607)
OKLCHoklch(54.78% 0.204 342.7)
XYZxyz(26.1127, 14.1114, 27.7287)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A90 #2ABA54
analogous
#9C2ABA #BA2A90 #BA2A48
triadic
#BA2A90 #90BA2A #2A90BA
tetradic
#BA2A90 #BA9C2A #2ABA54 #2A48BA
square
#BA2A90 #BA9C2A #2ABA54 #2A48BA
split-complementary
#BA2A90 #48BA2A #2ABA9C
monochromatic
#561343 #881F69 #BA2A90 #D64BAE #E27DC4

Accessibility & contrast

On white

5.49
#BA2A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A90
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A90#FFFFFF#000000##FFFFFF
##BA2A901.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#67718D
Tritanopia (blue-blind)
#C62B5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2a90;
/* rgb */ color: rgb(186, 42, 144);
/* oklch */ color: oklch(54.8% 0.204 342.7);
Tailwind
colors: {
  custom: {
    50: '#d373b0',
    500: '#ba2a90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a90;
$custom-light: #d373b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a90",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 317.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.20429,
    "h": 342.7
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#BA2A90
secondary
#76CA8E
accent
#E67242
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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