#B52E7E#B52E7E

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

Color values

HEX#B52E7E
RGBrgb(181, 46, 126)
HSLhsl(324, 59%, 45%)
HSVhsv(324, 75%, 71%)
CMYKcmyk(0%, 74.6%, 30.4%, 29%)
CIE-LABlab(43.19, 60.01, -13.58)
CIE-LCHlch(43.19, 61.53, 347.25°)
OKLaboklab(53.5% 0.1831 -0.0356)
OKLCHoklch(53.5% 0.187 349)
XYZxyz(23.8002, 13.2868, 21.0459)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E7E #2EB565
analogous
#A82EB5 #B52E7E #B52E3B
triadic
#B52E7E #7EB52E #2E7EB5
tetradic
#B52E7E #B5A82E #2EB565 #2E3BB5
square
#B52E7E #B5A82E #2EB565 #2E3BB5
split-complementary
#B52E7E #3BB52E #2EB5A8
monochromatic
#53153A #84225C #B52E7E #D24E9C #DE7FB8

Accessibility & contrast

On white

5.74
#B52E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E7E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E7E#FFFFFF#000000##FFFFFF
##B52E7E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#C22752
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52e7e;
/* rgb */ color: rgb(181, 46, 126);
/* oklch */ color: oklch(53.5% 0.187 349.0);
Tailwind
colors: {
  custom: {
    50: '#d074a3',
    500: '#b52e7e',
    950: '#000000',
  },
}
SCSS
$custom: #b52e7e;
$custom-light: #d074a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e7e",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 324.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.18657,
    "h": 349
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#B52E7E
secondary
#78C798
accent
#E38545
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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