#B52B7E#B52B7E

#B52B7E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.190 H 348.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B52B7E
RGBrgb(181, 43, 126)
HSLhsl(324, 62%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 76.2%, 30.4%, 29%)
CIE-LABlab(42.85, 60.97, -14.10)
CIE-LCHlch(42.85, 62.58, 346.98°)
OKLaboklab(53.25% 0.1861 -0.037)
OKLCHoklch(53.25% 0.19 348.8)
XYZxyz(23.6871, 13.0606, 21.0082)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B7E #2BB562
analogous
#A72BB5 #B52B7E #B52B39
triadic
#B52B7E #7EB52B #2B7EB5
tetradic
#B52B7E #B5A72B #2BB562 #2B39B5
square
#B52B7E #B5A72B #2BB562 #2B39B5
split-complementary
#B52B7E #39B52B #2BB5A7
monochromatic
#521439 #841F5C #B52B7E #D4499D #E07BB7

Accessibility & contrast

On white

5.81
#B52B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B52B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B7E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B7E#FFFFFF#000000##FFFFFF
##B52B7E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C22351
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52b7e;
/* rgb */ color: rgb(181, 43, 126);
/* oklch */ color: oklch(53.3% 0.190 348.8);
Tailwind
colors: {
  custom: {
    50: '#d072a3',
    500: '#b52b7e',
    950: '#000000',
  },
}
SCSS
$custom: #b52b7e;
$custom-light: #d072a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b7e",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 323.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.18978,
    "h": 348.8
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#B52B7E
secondary
#74C895
accent
#E58443
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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