#B52A86#B52A86

#B52A86 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.195 H 345.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B52A86
RGBrgb(181, 42, 134)
HSLhsl(320, 62%, 44%)
HSVhsv(320, 77%, 71%)
CMYKcmyk(0%, 76.8%, 26%, 29%)
CIE-LABlab(43.07, 62.25, -18.68)
CIE-LCHlch(43.07, 64.99, 343.30°)
OKLaboklab(53.51% 0.1888 -0.0497)
OKLCHoklch(53.51% 0.195 345.3)
XYZxyz(24.1882, 13.2036, 23.8244)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A86 #2AB559
analogous
#9E2AB5 #B52A86 #B52A40
triadic
#B52A86 #86B52A #2A86B5
tetradic
#B52A86 #B59E2A #2AB559 #2A40B5
square
#B52A86 #B59E2A #2AB559 #2A40B5
split-complementary
#B52A86 #40B52A #2AB59E
monochromatic
#52133C #831E61 #B52A86 #D448A5 #E079BD

Accessibility & contrast

On white

5.77
#B52A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B52A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A86
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A86#FFFFFF#000000##FFFFFF
##B52A861.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5788
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#C12755
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52a86;
/* rgb */ color: rgb(181, 42, 134);
/* oklch */ color: oklch(53.5% 0.195 345.3);
Tailwind
colors: {
  custom: {
    50: '#d072a9',
    500: '#b52a86',
    950: '#000000',
  },
}
SCSS
$custom: #b52a86;
$custom-light: #d072a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a86",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 320.288,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.19521,
    "h": 345.3
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#B52A86
secondary
#73C890
accent
#E57A42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A86

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

Preview Lab → · Contrast checker → · Palette generator →

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