#B52F5E#B52F5E

#B52F5E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.173 H 4.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B52F5E
RGBrgb(181, 47, 94)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74%, 48.1%, 29%)
CIE-LABlab(42.26, 56.32, 4.91)
CIE-LCHlch(42.26, 56.53, 4.98°)
OKLaboklab(52.47% 0.1723 0.0131)
OKLCHoklch(52.47% 0.173 4.4)
XYZxyz(22.0948, 12.6679, 11.8692)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F5E #2FB586
analogous
#B52FA1 #B52F5E #B5432F
triadic
#B52F5E #5EB52F #2F5EB5
tetradic
#B52F5E #A1B52F #2FB586 #432FB5
square
#B52F5E #A1B52F #2FB586 #432FB5
split-complementary
#B52F5E #2FB543 #2FA1B5
monochromatic
#54162C #842245 #B52F5E #D1507D #DE80A1

Accessibility & contrast

On white

5.94
#B52F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52F5E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F5E#FFFFFF#000000##FFFFFF
##B52F5E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#C51343
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52f5e;
/* rgb */ color: rgb(181, 47, 94);
/* oklch */ color: oklch(52.5% 0.173 4.4);
Tailwind
colors: {
  custom: {
    50: '#d1738b',
    500: '#b52f5e',
    950: '#000000',
  },
}
SCSS
$custom: #b52f5e;
$custom-light: #d1738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f5e",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 338.955,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.17278,
    "h": 4.4
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#B52F5E
secondary
#79C7AC
accent
#E2AB46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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