#BA2D92#BA2D92

#BA2D92 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.202 H 342.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA2D92
RGBrgb(186, 45, 146)
HSLhsl(317, 61%, 45%)
HSVhsv(317, 76%, 73%)
CMYKcmyk(0%, 75.8%, 21.5%, 27.1%)
CIE-LABlab(44.79, 64.10, -23.24)
CIE-LCHlch(44.79, 68.18, 340.07°)
OKLaboklab(55.09% 0.1926 -0.0624)
OKLCHoklch(55.09% 0.202 342)
XYZxyz(26.3773, 14.3939, 28.5777)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D92 #2DBA55
analogous
#9B2DBA #BA2D92 #BA2D4C
triadic
#BA2D92 #92BA2D #2D92BA
tetradic
#BA2D92 #BA9B2D #2DBA55 #2D4CBA
square
#BA2D92 #BA9B2D #2DBA55 #2D4CBA
split-complementary
#BA2D92 #4CBA2D #2DBA9B
monochromatic
#571545 #89216B #BA2D92 #D550AF #E081C5

Accessibility & contrast

On white

5.41
#BA2D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA2D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D92
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D92#FFFFFF#000000##FFFFFF
##BA2D921.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B95
Deuteranopia (green-blind)
#68728F
Tritanopia (blue-blind)
#C62F5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2d92;
/* rgb */ color: rgb(186, 45, 146);
/* oklch */ color: oklch(55.1% 0.202 342.0);
Tailwind
colors: {
  custom: {
    50: '#d375b2',
    500: '#ba2d92',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d92;
$custom-light: #d375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d92",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 317.021,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.20249,
    "h": 342
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#BA2D92
secondary
#79C990
accent
#E47144
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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