#BA2F84#BA2F84

#BA2F84 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.192 H 347.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA2F84
RGBrgb(186, 47, 132)
HSLhsl(323, 60%, 46%)
HSVhsv(323, 75%, 73%)
CMYKcmyk(0%, 74.7%, 29%, 27.1%)
CIE-LABlab(44.43, 61.70, -15.28)
CIE-LCHlch(44.43, 63.57, 346.09°)
OKLaboklab(54.65% 0.188 -0.0402)
OKLCHoklch(54.65% 0.192 347.9)
XYZxyz(25.4323, 14.1409, 23.2155)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F84 #2FBA65
analogous
#AA2FBA #BA2F84 #BA2F3F
triadic
#BA2F84 #84BA2F #2F84BA
tetradic
#BA2F84 #BAAA2F #2FBA65 #2F3FBA
square
#BA2F84 #BAAA2F #2FBA65 #2F3FBA
split-complementary
#BA2F84 #3FBA2F #2FBAAA
monochromatic
#58163F #892361 #BA2F84 #D353A1 #E084BC

Accessibility & contrast

On white

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

On black

3.83
#BA2F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2F84#FFFFFF#000000##FFFFFF
##BA2F841.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A86
Deuteranopia (green-blind)
#6D7281
Tritanopia (blue-blind)
#C72956
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2f84;
/* rgb */ color: rgb(186, 47, 132);
/* oklch */ color: oklch(54.6% 0.192 347.9);
Tailwind
colors: {
  custom: {
    50: '#d375a7',
    500: '#ba2f84',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f84;
$custom-light: #d375a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f84",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 323.309,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.19226,
    "h": 347.9
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#BA2F84
secondary
#7CC99A
accent
#E38245
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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