#B52F62#B52F62

#B52F62 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.174 H 2.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B52F62
RGBrgb(181, 47, 98)
HSLhsl(337, 59%, 45%)
HSVhsv(337, 74%, 71%)
CMYKcmyk(0%, 74%, 45.9%, 29%)
CIE-LABlab(42.37, 56.69, 2.57)
CIE-LCHlch(42.37, 56.74, 2.59°)
OKLaboklab(52.59% 0.1737 0.0072)
OKLCHoklch(52.59% 0.174 2.4)
XYZxyz(22.2790, 12.7416, 12.8391)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F62 #2FB582
analogous
#B52FA5 #B52F62 #B53F2F
triadic
#B52F62 #62B52F #2F62B5
tetradic
#B52F62 #A5B52F #2FB582 #3F2FB5
square
#B52F62 #A5B52F #2FB582 #3F2FB5
split-complementary
#B52F62 #2FB53F #2FA5B5
monochromatic
#54162D #842248 #B52F62 #D15081 #DE80A4

Accessibility & contrast

On white

5.92
#B52F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B52F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F62
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F62#FFFFFF#000000##FFFFFF
##B52F621.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5363
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#C51645
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52f62;
/* rgb */ color: rgb(181, 47, 98);
/* oklch */ color: oklch(52.6% 0.174 2.4);
Tailwind
colors: {
  custom: {
    50: '#d1738e',
    500: '#b52f62',
    950: '#000000',
  },
}
SCSS
$custom: #b52f62;
$custom-light: #d1738e;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f62",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 337.164,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.17386,
    "h": 2.4
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#B52F62
secondary
#79C7A9
accent
#E2A746
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52F62

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

Preview Lab → · Contrast checker → · Palette generator →

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