#B52B71#B52B71

#B52B71 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.184 H 354.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B52B71
RGBrgb(181, 43, 113)
HSLhsl(330, 62%, 44%)
HSVhsv(330, 76%, 71%)
CMYKcmyk(0%, 76.2%, 37.6%, 29%)
CIE-LABlab(42.38, 59.50, -6.77)
CIE-LCHlch(42.38, 59.89, 353.50°)
OKLaboklab(52.75% 0.1827 -0.0171)
OKLCHoklch(52.75% 0.184 354.6)
XYZxyz(22.9021, 12.7466, 16.8739)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B71 #2BB56F
analogous
#B42BB5 #B52B71 #B52B2C
triadic
#B52B71 #71B52B #2B71B5
tetradic
#B52B71 #B5B42B #2BB56F #2B2CB5
square
#B52B71 #B5B42B #2BB56F #2B2CB5
split-complementary
#B52B71 #2CB52B #2BB5B4
monochromatic
#521433 #841F52 #B52B71 #D44990 #E07BAE

Accessibility & contrast

On white

5.92
#B52B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B52B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B71
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B71#FFFFFF#000000##FFFFFF
##B52B711.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#6D6D6E
Tritanopia (blue-blind)
#C31A4A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52b71;
/* rgb */ color: rgb(181, 43, 113);
/* oklch */ color: oklch(52.7% 0.184 354.6);
Tailwind
colors: {
  custom: {
    50: '#d07299',
    500: '#b52b71',
    950: '#000000',
  },
}
SCSS
$custom: #b52b71;
$custom-light: #d07299;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b71",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 329.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.18353,
    "h": 354.6
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#B52B71
secondary
#74C89D
accent
#E59343
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52B71

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

Preview Lab → · Contrast checker → · Palette generator →

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