#BA2F92#BA2F92

#BA2F92 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.3% C 0.200 H 342.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA2F92
RGBrgb(186, 47, 146)
HSLhsl(317, 60%, 46%)
HSVhsv(317, 75%, 73%)
CMYKcmyk(0%, 74.7%, 21.5%, 27.1%)
CIE-LABlab(45.01, 63.48, -22.90)
CIE-LCHlch(45.01, 67.48, 340.16°)
OKLaboklab(55.25% 0.1907 -0.0615)
OKLCHoklch(55.25% 0.2 342.1)
XYZxyz(26.4554, 14.5502, 28.6038)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F92 #2FBA57
analogous
#9C2FBA #BA2F92 #BA2F4C
triadic
#BA2F92 #92BA2F #2F92BA
tetradic
#BA2F92 #BA9C2F #2FBA57 #2F4CBA
square
#BA2F92 #BA9C2F #2FBA57 #2F4CBA
split-complementary
#BA2F92 #4CBA2F #2FBA9C
monochromatic
#581645 #89236C #BA2F92 #D353AE #E084C5

Accessibility & contrast

On white

5.37
#BA2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA2F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F92
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F92#FFFFFF#000000##FFFFFF
##BA2F921.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#68738F
Tritanopia (blue-blind)
#C6315D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2f92;
/* rgb */ color: rgb(186, 47, 146);
/* oklch */ color: oklch(55.3% 0.200 342.1);
Tailwind
colors: {
  custom: {
    50: '#d375b2',
    500: '#ba2f92',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f92;
$custom-light: #d375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f92",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 317.266,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.20038,
    "h": 342.1
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#BA2F92
secondary
#7CC992
accent
#E37245
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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