#B52A7E#B52A7E

#B52A7E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.191 H 348.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B52A7E
RGBrgb(181, 42, 126)
HSLhsl(324, 62%, 44%)
HSVhsv(324, 77%, 71%)
CMYKcmyk(0%, 76.8%, 30.4%, 29%)
CIE-LABlab(42.75, 61.27, -14.26)
CIE-LCHlch(42.75, 62.91, 346.90°)
OKLaboklab(53.17% 0.1871 -0.0374)
OKLCHoklch(53.17% 0.191 348.7)
XYZxyz(23.6512, 12.9888, 20.9962)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A7E #2AB561
analogous
#A62AB5 #B52A7E #B52A38
triadic
#B52A7E #7EB52A #2A7EB5
tetradic
#B52A7E #B5A62A #2AB561 #2A38B5
square
#B52A7E #B5A62A #2AB561 #2A38B5
split-complementary
#B52A7E #38B52A #2AB5A6
monochromatic
#521339 #831E5B #B52A7E #D4489D #E079B7

Accessibility & contrast

On white

5.84
#B52A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B52A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A7E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A7E#FFFFFF#000000##FFFFFF
##B52A7E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#C22251
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a7e;
/* rgb */ color: rgb(181, 42, 126);
/* oklch */ color: oklch(53.2% 0.191 348.7);
Tailwind
colors: {
  custom: {
    50: '#d072a3',
    500: '#b52a7e',
    950: '#000000',
  },
}
SCSS
$custom: #b52a7e;
$custom-light: #d072a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a7e",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 323.741,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.19081,
    "h": 348.7
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#B52A7E
secondary
#73C895
accent
#E58342
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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