#B52F5C#B52F5C

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

Color values

HEX#B52F5C
RGBrgb(181, 47, 92)
HSLhsl(340, 59%, 45%)
HSVhsv(340, 74%, 71%)
CMYKcmyk(0%, 74%, 49.2%, 29%)
CIE-LABlab(42.20, 56.14, 6.08)
CIE-LCHlch(42.20, 56.47, 6.18°)
OKLaboklab(52.41% 0.1716 0.016)
OKLCHoklch(52.41% 0.172 5.3)
XYZxyz(22.0062, 12.6325, 11.4026)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F5C #2FB588
analogous
#B52F9F #B52F5C #B5452F
triadic
#B52F5C #5CB52F #2F5CB5
tetradic
#B52F5C #9FB52F #2FB588 #452FB5
square
#B52F5C #9FB52F #2FB588 #452FB5
split-complementary
#B52F5C #2FB545 #2F9FB5
monochromatic
#54162B #842243 #B52F5C #D1507B #DE80A0

Accessibility & contrast

On white

5.96
#B52F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52F5C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F5C#FFFFFF#000000##FFFFFF
##B52F5C1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#C51242
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52f5c;
/* rgb */ color: rgb(181, 47, 92);
/* oklch */ color: oklch(52.4% 0.172 5.3);
Tailwind
colors: {
  custom: {
    50: '#d17389',
    500: '#b52f5c',
    950: '#000000',
  },
}
SCSS
$custom: #b52f5c;
$custom-light: #d17389;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f5c",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 339.851,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.1723,
    "h": 5.3
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#B52F5C
secondary
#79C7AD
accent
#E2AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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