#B52C8E#B52C8E

#B52C8E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.198 H 342.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B52C8E
RGBrgb(181, 44, 142)
HSLhsl(317, 61%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 75.7%, 21.5%, 29%)
CIE-LABlab(43.63, 62.67, -22.69)
CIE-LCHlch(43.63, 66.65, 340.10°)
OKLaboklab(54.03% 0.1883 -0.0609)
OKLCHoklch(54.03% 0.198 342.1)
XYZxyz(24.8401, 13.5807, 26.8991)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C8E #2CB553
analogous
#982CB5 #B52C8E #B52C4A
triadic
#B52C8E #8EB52C #2C8EB5
tetradic
#B52C8E #B5982C #2CB553 #2C4AB5
square
#B52C8E #B5982C #2CB553 #2C4AB5
split-complementary
#B52C8E #4AB52C #2CB598
monochromatic
#531441 #842067 #B52C8E #D34BAC #DF7CC3

Accessibility & contrast

On white

5.65
#B52C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C8E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C8E#FFFFFF#000000##FFFFFF
##B52C8E1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#C02E5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52c8e;
/* rgb */ color: rgb(181, 44, 142);
/* oklch */ color: oklch(54.0% 0.198 342.1);
Tailwind
colors: {
  custom: {
    50: '#cf73af',
    500: '#b52c8e',
    950: '#000000',
  },
}
SCSS
$custom: #b52c8e;
$custom-light: #cf73af;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c8e",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 317.08,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.19793,
    "h": 342.1
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#B52C8E
secondary
#75C88D
accent
#E47144
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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