#B52A6D#B52A6D

#B52A6D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.183 H 356.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B52A6D
RGBrgb(181, 42, 109)
HSLhsl(331, 62%, 44%)
HSVhsv(331, 77%, 71%)
CMYKcmyk(0%, 76.8%, 39.8%, 29%)
CIE-LABlab(42.13, 59.39, -4.65)
CIE-LCHlch(42.13, 59.58, 355.52°)
OKLaboklab(52.52% 0.1825 -0.0115)
OKLCHoklch(52.52% 0.183 356.4)
XYZxyz(22.6459, 12.5867, 15.7020)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6D #2AB572
analogous
#B52AB2 #B52A6D #B52C2A
triadic
#B52A6D #6DB52A #2A6DB5
tetradic
#B52A6D #B2B52A #2AB572 #2C2AB5
square
#B52A6D #B2B52A #2AB572 #2C2AB5
split-complementary
#B52A6D #2AB52C #2AB2B5
monochromatic
#521331 #831E4F #B52A6D #D4488C #E079AB

Accessibility & contrast

On white

5.97
#B52A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B52A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A6D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A6D#FFFFFF#000000##FFFFFF
##B52A6D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#6E6D6A
Tritanopia (blue-blind)
#C41648
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a6d;
/* rgb */ color: rgb(181, 42, 109);
/* oklch */ color: oklch(52.5% 0.183 356.4);
Tailwind
colors: {
  custom: {
    50: '#d07196',
    500: '#b52a6d',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6d;
$custom-light: #d07196;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6d",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 331.079,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.18289,
    "h": 356.4
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#B52A6D
secondary
#73C89F
accent
#E59742
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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