#B52A92#B52A92

#B52A92 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.1% C 0.202 H 340.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B52A92
RGBrgb(181, 42, 146)
HSLhsl(315, 62%, 44%)
HSVhsv(315, 77%, 71%)
CMYKcmyk(0%, 76.8%, 19.3%, 29%)
CIE-LABlab(43.59, 63.81, -25.17)
CIE-LCHlch(43.59, 68.60, 338.47°)
OKLaboklab(54.06% 0.1908 -0.0679)
OKLCHoklch(54.06% 0.202 340.4)
XYZxyz(25.0731, 13.5575, 28.4850)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A92 #2AB54D
analogous
#922AB5 #B52A92 #B52A4C
triadic
#B52A92 #92B52A #2A92B5
tetradic
#B52A92 #B5922A #2AB54D #2A4CB5
square
#B52A92 #B5922A #2AB54D #2A4CB5
split-complementary
#B52A92 #4CB52A #2AB592
monochromatic
#521342 #831E6A #B52A92 #D448B1 #E079C6

Accessibility & contrast

On white

5.66
#B52A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B52A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A92
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A92#FFFFFF#000000##FFFFFF
##B52A921.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#C02E5B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52a92;
/* rgb */ color: rgb(181, 42, 146);
/* oklch */ color: oklch(54.1% 0.202 340.4);
Tailwind
colors: {
  custom: {
    50: '#cf73b2',
    500: '#b52a92',
    950: '#000000',
  },
}
SCSS
$custom: #b52a92;
$custom-light: #cf73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a92",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 315.108,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.20249,
    "h": 340.4
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#B52A92
secondary
#73C888
accent
#E56B42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A92

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

Preview Lab → · Contrast checker → · Palette generator →

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