#BA2F83#BA2F83

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

Color values

HEX#BA2F83
RGBrgb(186, 47, 131)
HSLhsl(324, 60%, 46%)
HSVhsv(324, 75%, 73%)
CMYKcmyk(0%, 74.7%, 29.6%, 27.1%)
CIE-LABlab(44.40, 61.58, -14.73)
CIE-LCHlch(44.40, 63.32, 346.55°)
OKLaboklab(54.6% 0.1878 -0.0387)
OKLCHoklch(54.6% 0.192 348.3)
XYZxyz(25.3642, 14.1137, 22.8568)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F83 #2FBA66
analogous
#AB2FBA #BA2F83 #BA2F3D
triadic
#BA2F83 #83BA2F #2F83BA
tetradic
#BA2F83 #BAAB2F #2FBA66 #2F3DBA
square
#BA2F83 #BAAB2F #2FBA66 #2F3DBA
split-complementary
#BA2F83 #3DBA2F #2FBAAB
monochromatic
#58163E #892361 #BA2F83 #D353A1 #E084BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2F83#FFFFFF#000000##FFFFFF
##BA2F831.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)
#445A85
Deuteranopia (green-blind)
#6D7280
Tritanopia (blue-blind)
#C72855
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2f83;
/* rgb */ color: rgb(186, 47, 131);
/* oklch */ color: oklch(54.6% 0.192 348.3);
Tailwind
colors: {
  custom: {
    50: '#d375a7',
    500: '#ba2f83',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f83;
$custom-light: #d375a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f83",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 323.741,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.19172,
    "h": 348.3
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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