#B52E7D#B52E7D

#B52E7D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.186 H 349.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B52E7D
RGBrgb(181, 46, 125)
HSLhsl(325, 59%, 45%)
HSVhsv(325, 75%, 71%)
CMYKcmyk(0%, 74.6%, 30.9%, 29%)
CIE-LABlab(43.15, 59.89, -13.03)
CIE-LCHlch(43.15, 61.29, 347.73°)
OKLaboklab(53.46% 0.1829 -0.0341)
OKLCHoklch(53.46% 0.186 349.4)
XYZxyz(23.7360, 13.2611, 20.7077)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E7D #2EB566
analogous
#AA2EB5 #B52E7D #B52E3A
triadic
#B52E7D #7DB52E #2E7DB5
tetradic
#B52E7D #B5AA2E #2EB566 #2E3AB5
square
#B52E7D #B5AA2E #2EB566 #2E3AB5
split-complementary
#B52E7D #3AB52E #2EB5AA
monochromatic
#53153A #84225B #B52E7D #D24E9B #DE7FB7

Accessibility & contrast

On white

5.75
#B52E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B52E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E7D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E7D#FFFFFF#000000##FFFFFF
##B52E7D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#C22652
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52e7d;
/* rgb */ color: rgb(181, 46, 125);
/* oklch */ color: oklch(53.5% 0.186 349.4);
Tailwind
colors: {
  custom: {
    50: '#d074a2',
    500: '#b52e7d',
    950: '#000000',
  },
}
SCSS
$custom: #b52e7d;
$custom-light: #d074a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e7d",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 324.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.18605,
    "h": 349.4
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#B52E7D
secondary
#78C799
accent
#E38645
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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