#B52F81#B52F81

#B52F81 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.187 H 347.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B52F81
RGBrgb(181, 47, 129)
HSLhsl(323, 59%, 45%)
HSVhsv(323, 74%, 71%)
CMYKcmyk(0%, 74%, 28.7%, 29%)
CIE-LABlab(43.43, 60.04, -15.07)
CIE-LCHlch(43.43, 61.91, 345.91°)
OKLaboklab(53.71% 0.1828 -0.0397)
OKLCHoklch(53.71% 0.187 347.8)
XYZxyz(24.0362, 13.4445, 22.0939)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F81 #2FB563
analogous
#A62FB5 #B52F81 #B52F3E
triadic
#B52F81 #81B52F #2F81B5
tetradic
#B52F81 #B5A62F #2FB563 #2F3EB5
square
#B52F81 #B5A62F #2FB563 #2F3EB5
split-complementary
#B52F81 #3EB52F #2FB5A6
monochromatic
#54163C #84225E #B52F81 #D1509F #DE80BA

Accessibility & contrast

On white

5.69
#B52F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B52F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F81
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F81#FFFFFF#000000##FFFFFF
##B52F811.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#6A6F7E
Tritanopia (blue-blind)
#C22954
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f81;
/* rgb */ color: rgb(181, 47, 129);
/* oklch */ color: oklch(53.7% 0.187 347.8);
Tailwind
colors: {
  custom: {
    50: '#cf74a5',
    500: '#b52f81',
    950: '#000000',
  },
}
SCSS
$custom: #b52f81;
$custom-light: #cf74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f81",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 323.284,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.18707,
    "h": 347.8
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#B52F81
secondary
#79C797
accent
#E28246
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F81

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

Preview Lab → · Contrast checker → · Palette generator →

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