#B52B5D#B52B5D

#B52B5D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.177 H 4.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B52B5D
RGBrgb(181, 43, 93)
HSLhsl(338, 62%, 44%)
HSVhsv(338, 76%, 71%)
CMYKcmyk(0%, 76.2%, 48.6%, 29%)
CIE-LABlab(41.76, 57.56, 4.82)
CIE-LCHlch(41.76, 57.76, 4.78°)
OKLaboklab(52.09% 0.1762 0.0129)
OKLCHoklch(52.09% 0.177 4.2)
XYZxyz(21.8976, 12.3448, 11.5835)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B5D #2BB583
analogous
#B52BA2 #B52B5D #B53E2B
triadic
#B52B5D #5DB52B #2B5DB5
tetradic
#B52B5D #A2B52B #2BB583 #3E2BB5
square
#B52B5D #A2B52B #2BB583 #3E2BB5
split-complementary
#B52B5D #2BB53E #2BA2B5
monochromatic
#52142A #841F44 #B52B5D #D4497C #E07B9F

Accessibility & contrast

On white

6.05
#B52B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B52B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B5D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B5D#FFFFFF#000000##FFFFFF
##B52B5D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C50841
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52b5d;
/* rgb */ color: rgb(181, 43, 93);
/* oklch */ color: oklch(52.1% 0.177 4.2);
Tailwind
colors: {
  custom: {
    50: '#d1718a',
    500: '#b52b5d',
    950: '#000000',
  },
}
SCSS
$custom: #b52b5d;
$custom-light: #d1718a;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b5d",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 338.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.17664,
    "h": 4.2
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#B52B5D
secondary
#74C8A9
accent
#E5AA43
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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