#B52A74#B52A74

#B52A74 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.186 H 353.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B52A74
RGBrgb(181, 42, 116)
HSLhsl(328, 62%, 44%)
HSVhsv(328, 77%, 71%)
CMYKcmyk(0%, 76.8%, 35.9%, 29%)
CIE-LABlab(42.37, 60.14, -8.64)
CIE-LCHlch(42.37, 60.75, 351.82°)
OKLaboklab(52.78% 0.1846 -0.0221)
OKLCHoklch(52.78% 0.186 353.2)
XYZxyz(23.0379, 12.7435, 17.7662)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A74 #2AB56B
analogous
#B02AB5 #B52A74 #B52A2E
triadic
#B52A74 #74B52A #2A74B5
tetradic
#B52A74 #B5B02A #2AB56B #2A2EB5
square
#B52A74 #B5B02A #2AB56B #2A2EB5
split-complementary
#B52A74 #2EB52A #2AB5B0
monochromatic
#521334 #831E54 #B52A74 #D44893 #E079B0

Accessibility & contrast

On white

5.92
#B52A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B52A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A74
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A74#FFFFFF#000000##FFFFFF
##B52A741.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#6C6D71
Tritanopia (blue-blind)
#C31B4B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a74;
/* rgb */ color: rgb(181, 42, 116);
/* oklch */ color: oklch(52.8% 0.186 353.2);
Tailwind
colors: {
  custom: {
    50: '#d0729c',
    500: '#b52a74',
    950: '#000000',
  },
}
SCSS
$custom: #b52a74;
$custom-light: #d0729c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a74",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 328.058,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.18589,
    "h": 353.2
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#B52A74
secondary
#73C89B
accent
#E58F42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52A74

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

Preview Lab → · Contrast checker → · Palette generator →

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