#B52F80#B52F80

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

Color values

HEX#B52F80
RGBrgb(181, 47, 128)
HSLhsl(324, 59%, 45%)
HSVhsv(324, 74%, 71%)
CMYKcmyk(0%, 74%, 29.3%, 29%)
CIE-LABlab(43.39, 59.92, -14.51)
CIE-LCHlch(43.39, 61.65, 346.38°)
OKLaboklab(53.66% 0.1826 -0.0382)
OKLCHoklch(53.66% 0.187 348.2)
XYZxyz(23.9700, 13.4180, 21.7455)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F80 #2FB564
analogous
#A72FB5 #B52F80 #B52F3D
triadic
#B52F80 #80B52F #2F80B5
tetradic
#B52F80 #B5A72F #2FB564 #2F3DB5
square
#B52F80 #B5A72F #2FB564 #2F3DB5
split-complementary
#B52F80 #3DB52F #2FB5A7
monochromatic
#54163B #84225E #B52F80 #D1509E #DE80B9

Accessibility & contrast

On white

5.70
#B52F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F80
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F80#FFFFFF#000000##FFFFFF
##B52F801.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435882
Deuteranopia (green-blind)
#6A6F7D
Tritanopia (blue-blind)
#C22953
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f80;
/* rgb */ color: rgb(181, 47, 128);
/* oklch */ color: oklch(53.7% 0.187 348.2);
Tailwind
colors: {
  custom: {
    50: '#cf74a5',
    500: '#b52f80',
    950: '#000000',
  },
}
SCSS
$custom: #b52f80;
$custom-light: #cf74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f80",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 323.731,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.18653,
    "h": 348.2
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#B52F80
secondary
#79C798
accent
#E28446
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F80

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

Preview Lab → · Contrast checker → · Palette generator →

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