#B52F6D#B52F6D

#B52F6D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.178 H 357.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B52F6D
RGBrgb(181, 47, 109)
HSLhsl(332, 59%, 45%)
HSVhsv(332, 74%, 71%)
CMYKcmyk(0%, 74%, 39.8%, 29%)
CIE-LABlab(42.71, 57.77, -3.80)
CIE-LCHlch(42.71, 57.90, 356.24°)
OKLaboklab(52.95% 0.1774 -0.0093)
OKLCHoklch(52.95% 0.178 357)
XYZxyz(22.8345, 12.9638, 15.7648)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F6D #2FB577
analogous
#B52FB0 #B52F6D #B5342F
triadic
#B52F6D #6DB52F #2F6DB5
tetradic
#B52F6D #B0B52F #2FB577 #342FB5
square
#B52F6D #B0B52F #2FB577 #342FB5
split-complementary
#B52F6D #2FB534 #2FB0B5
monochromatic
#541632 #842250 #B52F6D #D1508C #DE80AC

Accessibility & contrast

On white

5.85
#B52F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B52F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F6D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F6D#FFFFFF#000000##FFFFFF
##B52F6D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A556F
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#C41E4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52f6d;
/* rgb */ color: rgb(181, 47, 109);
/* oklch */ color: oklch(52.9% 0.178 357.0);
Tailwind
colors: {
  custom: {
    50: '#d07396',
    500: '#b52f6d',
    950: '#000000',
  },
}
SCSS
$custom: #b52f6d;
$custom-light: #d07396;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f6d",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 332.239,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.17761,
    "h": 357
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#B52F6D
secondary
#79C7A3
accent
#E29A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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