#B52A6C#B52A6C

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

Color values

HEX#B52A6C
RGBrgb(181, 42, 108)
HSLhsl(332, 62%, 44%)
HSVhsv(332, 77%, 71%)
CMYKcmyk(0%, 76.8%, 40.3%, 29%)
CIE-LABlab(42.10, 59.29, -4.08)
CIE-LCHlch(42.10, 59.43, 356.07°)
OKLaboklab(52.49% 0.1822 -0.01)
OKLCHoklch(52.49% 0.183 356.9)
XYZxyz(22.5924, 12.5653, 15.4201)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6C #2AB573
analogous
#B52AB1 #B52A6C #B52D2A
triadic
#B52A6C #6CB52A #2A6CB5
tetradic
#B52A6C #B1B52A #2AB573 #2D2AB5
square
#B52A6C #B1B52A #2AB573 #2D2AB5
split-complementary
#B52A6C #2AB52D #2AB1B5
monochromatic
#521331 #831E4E #B52A6C #D4488B #E079AA

Accessibility & contrast

On white

5.98
#B52A6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B52A6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A6C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A6C#FFFFFF#000000##FFFFFF
##B52A6C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#6E6D69
Tritanopia (blue-blind)
#C41547
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a6c;
/* rgb */ color: rgb(181, 42, 108);
/* oklch */ color: oklch(52.5% 0.182 356.9);
Tailwind
colors: {
  custom: {
    50: '#d07196',
    500: '#b52a6c',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6c;
$custom-light: #d07196;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6c",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 331.511,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.1825,
    "h": 356.9
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#B52A6C
secondary
#73C8A0
accent
#E59842
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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