#B52F7B#B52F7B

#B52F7B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.184 H 350.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B52F7B
RGBrgb(181, 47, 123)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74%, 32%, 29%)
CIE-LABlab(43.20, 59.32, -11.73)
CIE-LCHlch(43.20, 60.47, 348.81°)
OKLaboklab(53.46% 0.1814 -0.0305)
OKLCHoklch(53.46% 0.184 350.4)
XYZxyz(23.6490, 13.2896, 20.0548)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F7B #2FB569
analogous
#AC2FB5 #B52F7B #B52F38
triadic
#B52F7B #7BB52F #2F7BB5
tetradic
#B52F7B #B5AC2F #2FB569 #2F38B5
square
#B52F7B #B5AC2F #2FB569 #2F38B5
split-complementary
#B52F7B #38B52F #2FB5AC
monochromatic
#541639 #84225A #B52F7B #D15099 #DE80B6

Accessibility & contrast

On white

5.74
#B52F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F7B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F7B#FFFFFF#000000##FFFFFF
##B52F7B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#C22651
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f7b;
/* rgb */ color: rgb(181, 47, 123);
/* oklch */ color: oklch(53.5% 0.184 350.4);
Tailwind
colors: {
  custom: {
    50: '#d074a1',
    500: '#b52f7b',
    950: '#000000',
  },
}
SCSS
$custom: #b52f7b;
$custom-light: #d074a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f7b",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 325.97,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.18391,
    "h": 350.4
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#B52F7B
secondary
#79C79B
accent
#E28946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B52F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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