#B52D5F#B52D5F

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

Color values

HEX#B52D5F
RGBrgb(181, 45, 95)
HSLhsl(338, 60%, 44%)
HSVhsv(338, 75%, 71%)
CMYKcmyk(0%, 75.1%, 47.5%, 29%)
CIE-LABlab(42.05, 57.08, 3.97)
CIE-LCHlch(42.05, 57.22, 3.98°)
OKLaboklab(52.32% 0.1748 0.0108)
OKLCHoklch(52.32% 0.175 3.5)
XYZxyz(22.0618, 12.5297, 12.0810)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D5F #2DB583
analogous
#B52DA3 #B52D5F #B53F2D
triadic
#B52D5F #5FB52D #2D5FB5
tetradic
#B52D5F #A3B52D #2DB583 #3F2DB5
square
#B52D5F #A3B52D #2DB583 #3F2DB5
split-complementary
#B52D5F #2DB53F #2DA3B5
monochromatic
#53152C #842145 #B52D5F #D34D7E #DF7EA1

Accessibility & contrast

On white

5.99
#B52D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52D5F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D5F#FFFFFF#000000##FFFFFF
##B52D5F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C51042
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52d5f;
/* rgb */ color: rgb(181, 45, 95);
/* oklch */ color: oklch(52.3% 0.175 3.5);
Tailwind
colors: {
  custom: {
    50: '#d1728c',
    500: '#b52d5f',
    950: '#000000',
  },
}
SCSS
$custom: #b52d5f;
$custom-light: #d1728c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d5f",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 337.941,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.17513,
    "h": 3.5
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#B52D5F
secondary
#76C7AA
accent
#E3A944
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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