#B52A7A#B52A7A

#B52A7A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 350.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B52A7A
RGBrgb(181, 42, 122)
HSLhsl(325, 62%, 44%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 76.8%, 32.6%, 29%)
CIE-LABlab(42.59, 60.81, -12.03)
CIE-LCHlch(42.59, 61.99, 348.81°)
OKLaboklab(53.01% 0.1861 -0.0313)
OKLCHoklch(53.01% 0.189 350.5)
XYZxyz(23.3982, 12.8876, 19.6640)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A7A #2AB565
analogous
#AA2AB5 #B52A7A #B52A34
triadic
#B52A7A #7AB52A #2A7AB5
tetradic
#B52A7A #B5AA2A #2AB565 #2A34B5
square
#B52A7A #B5AA2A #2AB565 #2A34B5
split-complementary
#B52A7A #34B52A #2AB5AA
monochromatic
#521337 #831E59 #B52A7A #D44899 #E079B4

Accessibility & contrast

On white

5.87
#B52A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B52A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A7A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A7A#FFFFFF#000000##FFFFFF
##B52A7A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#6A6D77
Tritanopia (blue-blind)
#C31F4F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a7a;
/* rgb */ color: rgb(181, 42, 122);
/* oklch */ color: oklch(53.0% 0.189 350.5);
Tailwind
colors: {
  custom: {
    50: '#d072a0',
    500: '#b52a7a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a7a;
$custom-light: #d072a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a7a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 325.468,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.18875,
    "h": 350.5
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#B52A7A
secondary
#73C897
accent
#E58842
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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