#B52F6B#B52F6B

#B52F6B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.177 H 358.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B52F6B
RGBrgb(181, 47, 107)
HSLhsl(333, 59%, 45%)
HSVhsv(333, 74%, 71%)
CMYKcmyk(0%, 74%, 40.9%, 29%)
CIE-LABlab(42.64, 57.57, -2.65)
CIE-LCHlch(42.64, 57.63, 357.36°)
OKLaboklab(52.88% 0.1767 -0.0062)
OKLCHoklch(52.88% 0.177 358)
XYZxyz(22.7280, 12.9212, 15.2043)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F6B #2FB579
analogous
#B52FAE #B52F6B #B5362F
triadic
#B52F6B #6BB52F #2F6BB5
tetradic
#B52F6B #AEB52F #2FB579 #362FB5
square
#B52F6B #AEB52F #2FB579 #362FB5
split-complementary
#B52F6B #2FB536 #2FAEB5
monochromatic
#541632 #84224E #B52F6B #D1508A #DE80AA

Accessibility & contrast

On white

5.86
#B52F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B52F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F6B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F6B#FFFFFF#000000##FFFFFF
##B52F6B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556D
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C41C49
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52f6b;
/* rgb */ color: rgb(181, 47, 107);
/* oklch */ color: oklch(52.9% 0.177 358.0);
Tailwind
colors: {
  custom: {
    50: '#d07395',
    500: '#b52f6b',
    950: '#000000',
  },
}
SCSS
$custom: #b52f6b;
$custom-light: #d07395;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f6b",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 333.134,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.17685,
    "h": 358
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#B52F6B
secondary
#79C7A4
accent
#E29C46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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