#B52D5E#B52D5E

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

Color values

HEX#B52D5E
RGBrgb(181, 45, 94)
HSLhsl(338, 60%, 44%)
HSVhsv(338, 75%, 71%)
CMYKcmyk(0%, 75.1%, 48.1%, 29%)
CIE-LABlab(42.02, 57.00, 4.56)
CIE-LCHlch(42.02, 57.18, 4.58°)
OKLaboklab(52.29% 0.1745 0.0123)
OKLCHoklch(52.29% 0.175 4)
XYZxyz(22.0167, 12.5116, 11.8431)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D5E #2DB584
analogous
#B52DA2 #B52D5E #B5402D
triadic
#B52D5E #5EB52D #2D5EB5
tetradic
#B52D5E #A2B52D #2DB584 #402DB5
square
#B52D5E #A2B52D #2DB584 #402DB5
split-complementary
#B52D5E #2DB540 #2DA2B5
monochromatic
#53152B #842145 #B52D5E #D34D7D #DF7EA1

Accessibility & contrast

On white

6.00
#B52D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B52D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D5E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D5E#FFFFFF#000000##FFFFFF
##B52D5E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#C50F42
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52d5e;
/* rgb */ color: rgb(181, 45, 94);
/* oklch */ color: oklch(52.3% 0.175 4.0);
Tailwind
colors: {
  custom: {
    50: '#d1728b',
    500: '#b52d5e',
    950: '#000000',
  },
}
SCSS
$custom: #b52d5e;
$custom-light: #d1728b;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d5e",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 338.382,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.17488,
    "h": 4
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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