#B52A6E#B52A6E

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

Color values

HEX#B52A6E
RGBrgb(181, 42, 110)
HSLhsl(331, 62%, 44%)
HSVhsv(331, 77%, 71%)
CMYKcmyk(0%, 76.8%, 39.2%, 29%)
CIE-LABlab(42.17, 59.50, -5.22)
CIE-LCHlch(42.17, 59.73, 354.98°)
OKLaboklab(52.56% 0.1828 -0.013)
OKLCHoklch(52.56% 0.183 355.9)
XYZxyz(22.7001, 12.6083, 15.9871)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6E #2AB571
analogous
#B52AB3 #B52A6E #B52B2A
triadic
#B52A6E #6EB52A #2A6EB5
tetradic
#B52A6E #B3B52A #2AB571 #2B2AB5
square
#B52A6E #B3B52A #2AB571 #2B2AB5
split-complementary
#B52A6E #2AB52B #2AB3B5
monochromatic
#521332 #831E50 #B52A6E #D4488D #E079AC

Accessibility & contrast

On white

5.96
#B52A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52A6E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A6E#FFFFFF#000000##FFFFFF
##B52A6E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#6D6D6B
Tritanopia (blue-blind)
#C41748
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a6e;
/* rgb */ color: rgb(181, 42, 110);
/* oklch */ color: oklch(52.6% 0.183 355.9);
Tailwind
colors: {
  custom: {
    50: '#d07197',
    500: '#b52a6e',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6e;
$custom-light: #d07197;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6e",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 330.647,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.1833,
    "h": 355.9
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#B52A6E
secondary
#73C89E
accent
#E59642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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