#B52F5D#B52F5D

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

Color values

HEX#B52F5D
RGBrgb(181, 47, 93)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74%, 48.6%, 29%)
CIE-LABlab(42.23, 56.23, 5.49)
CIE-LCHlch(42.23, 56.50, 5.58°)
OKLaboklab(52.44% 0.1719 0.0146)
OKLCHoklch(52.44% 0.173 4.8)
XYZxyz(22.0502, 12.6501, 11.6344)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F5D #2FB587
analogous
#B52FA0 #B52F5D #B5442F
triadic
#B52F5D #5DB52F #2F5DB5
tetradic
#B52F5D #A0B52F #2FB587 #442FB5
square
#B52F5D #A0B52F #2FB587 #442FB5
split-complementary
#B52F5D #2FB544 #2FA0B5
monochromatic
#54162B #842244 #B52F5D #D1507C #DE80A1

Accessibility & contrast

On white

5.95
#B52F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B52F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F5D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F5D#FFFFFF#000000##FFFFFF
##B52F5D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C51342
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52f5d;
/* rgb */ color: rgb(181, 47, 93);
/* oklch */ color: oklch(52.4% 0.173 4.8);
Tailwind
colors: {
  custom: {
    50: '#d1738a',
    500: '#b52f5d',
    950: '#000000',
  },
}
SCSS
$custom: #b52f5d;
$custom-light: #d1738a;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f5d",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 339.403,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.17254,
    "h": 4.8
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#B52F5D
secondary
#79C7AC
accent
#E2AC46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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