#B52F57#B52F57

#B52F57 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.171 H 7.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B52F57
RGBrgb(181, 47, 87)
HSLhsl(342, 59%, 45%)
HSVhsv(342, 74%, 71%)
CMYKcmyk(0%, 74%, 51.9%, 29%)
CIE-LABlab(42.07, 55.72, 9.03)
CIE-LCHlch(42.07, 56.45, 9.21°)
OKLaboklab(52.27% 0.1697 0.0233)
OKLCHoklch(52.27% 0.171 7.8)
XYZxyz(21.7948, 12.5479, 10.2893)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F57 #2FB58D
analogous
#B52F9A #B52F57 #B54A2F
triadic
#B52F57 #57B52F #2F57B5
tetradic
#B52F57 #9AB52F #2FB58D #4A2FB5
square
#B52F57 #9AB52F #2FB58D #4A2FB5
split-complementary
#B52F57 #2FB54A #2F9AB5
monochromatic
#541628 #842240 #B52F57 #D15076 #DE809C

Accessibility & contrast

On white

5.98
#B52F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B52F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F57
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F57#FFFFFF#000000##FFFFFF
##B52F571.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#C50E40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52f57;
/* rgb */ color: rgb(181, 47, 87);
/* oklch */ color: oklch(52.3% 0.171 7.8);
Tailwind
colors: {
  custom: {
    50: '#d17386',
    500: '#b52f57',
    950: '#000000',
  },
}
SCSS
$custom: #b52f57;
$custom-light: #d17386;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f57",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 342.09,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.17127,
    "h": 7.8
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#B52F57
secondary
#79C7B0
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52F57

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

Preview Lab → · Contrast checker → · Palette generator →

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