#B52F5A#B52F5A

#B52F5A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.172 H 6.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B52F5A
RGBrgb(181, 47, 90)
HSLhsl(341, 59%, 45%)
HSVhsv(341, 74%, 71%)
CMYKcmyk(0%, 74%, 50.3%, 29%)
CIE-LABlab(42.15, 55.97, 7.26)
CIE-LCHlch(42.15, 56.44, 7.39°)
OKLaboklab(52.35% 0.1708 0.019)
OKLCHoklch(52.35% 0.172 6.3)
XYZxyz(21.9199, 12.5979, 10.9483)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F5A #2FB58A
analogous
#B52F9D #B52F5A #B5472F
triadic
#B52F5A #5AB52F #2F5AB5
tetradic
#B52F5A #9DB52F #2FB58A #472FB5
square
#B52F5A #9DB52F #2FB58A #472FB5
split-complementary
#B52F5A #2FB547 #2F9DB5
monochromatic
#54162A #842242 #B52F5A #D15079 #DE809E

Accessibility & contrast

On white

5.97
#B52F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B52F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F5A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F5A#FFFFFF#000000##FFFFFF
##B52F5A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50525B
Deuteranopia (green-blind)
#736D57
Tritanopia (blue-blind)
#C51041
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52f5a;
/* rgb */ color: rgb(181, 47, 90);
/* oklch */ color: oklch(52.4% 0.172 6.3);
Tailwind
colors: {
  custom: {
    50: '#d17388',
    500: '#b52f5a',
    950: '#000000',
  },
}
SCSS
$custom: #b52f5a;
$custom-light: #d17388;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f5a",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 340.746,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.17186,
    "h": 6.3
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#B52F5A
secondary
#79C7AE
accent
#E2B046
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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