#B52F5F#B52F5F

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

Color values

HEX#B52F5F
RGBrgb(181, 47, 95)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74%, 47.5%, 29%)
CIE-LABlab(42.29, 56.41, 4.32)
CIE-LCHlch(42.29, 56.58, 4.38°)
OKLaboklab(52.5% 0.1726 0.0117)
OKLCHoklch(52.5% 0.173 3.9)
XYZxyz(22.1400, 12.6860, 12.1070)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F5F #2FB585
analogous
#B52FA2 #B52F5F #B5422F
triadic
#B52F5F #5FB52F #2F5FB5
tetradic
#B52F5F #A2B52F #2FB585 #422FB5
square
#B52F5F #A2B52F #2FB585 #422FB5
split-complementary
#B52F5F #2FB542 #2FA2B5
monochromatic
#54162C #842246 #B52F5F #D1507E #DE80A2

Accessibility & contrast

On white

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

On black

3.54
#B52F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B52F5F#FFFFFF#000000##FFFFFF
##B52F5F1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C51443
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52f5f;
/* rgb */ color: rgb(181, 47, 95);
/* oklch */ color: oklch(52.5% 0.173 3.9);
Tailwind
colors: {
  custom: {
    50: '#d1738c',
    500: '#b52f5f',
    950: '#000000',
  },
}
SCSS
$custom: #b52f5f;
$custom-light: #d1738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f5f",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 338.507,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.17303,
    "h": 3.9
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#B52F5F
secondary
#79C7AB
accent
#E2AA46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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