#B52F6F#B52F6F

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

Color values

HEX#B52F6F
RGBrgb(181, 47, 111)
HSLhsl(331, 59%, 45%)
HSVhsv(331, 74%, 71%)
CMYKcmyk(0%, 74%, 38.7%, 29%)
CIE-LABlab(42.77, 57.98, -4.94)
CIE-LCHlch(42.77, 58.20, 355.13°)
OKLaboklab(53.02% 0.178 -0.0123)
OKLCHoklch(53.02% 0.178 356.1)
XYZxyz(22.9434, 13.0073, 16.3383)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F6F #2FB575
analogous
#B52FB2 #B52F6F #B5322F
triadic
#B52F6F #6FB52F #2F6FB5
tetradic
#B52F6F #B2B52F #2FB575 #322FB5
square
#B52F6F #B2B52F #2FB575 #322FB5
split-complementary
#B52F6F #2FB532 #2FB2B5
monochromatic
#541633 #842251 #B52F6F #D1508E #DE80AD

Accessibility & contrast

On white

5.83
#B52F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B52F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F6F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F6F#FFFFFF#000000##FFFFFF
##B52F6F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C41F4B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52f6f;
/* rgb */ color: rgb(181, 47, 111);
/* oklch */ color: oklch(53.0% 0.178 356.1);
Tailwind
colors: {
  custom: {
    50: '#d07498',
    500: '#b52f6f',
    950: '#000000',
  },
}
SCSS
$custom: #b52f6f;
$custom-light: #d07498;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f6f",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 331.343,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.17841,
    "h": 356.1
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#B52F6F
secondary
#79C7A2
accent
#E29746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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