#B52E6D#B52E6D

#B52E6D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.179 H 356.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B52E6D
RGBrgb(181, 46, 109)
HSLhsl(332, 59%, 45%)
HSVhsv(332, 75%, 71%)
CMYKcmyk(0%, 74.6%, 39.8%, 29%)
CIE-LABlab(42.59, 58.11, -3.98)
CIE-LCHlch(42.59, 58.25, 356.09°)
OKLaboklab(52.86% 0.1784 -0.0097)
OKLCHoklch(52.86% 0.179 356.9)
XYZxyz(22.7950, 12.8847, 15.7517)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E6D #2EB576
analogous
#B52EB1 #B52E6D #B5332E
triadic
#B52E6D #6DB52E #2E6DB5
tetradic
#B52E6D #B1B52E #2EB576 #332EB5
square
#B52E6D #B1B52E #2EB576 #332EB5
split-complementary
#B52E6D #2EB533 #2EB1B5
monochromatic
#531532 #842250 #B52E6D #D24E8C #DE7FAC

Accessibility & contrast

On white

5.87
#B52E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B52E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E6D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E6D#FFFFFF#000000##FFFFFF
##B52E6D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546F
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#C41C4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52e6d;
/* rgb */ color: rgb(181, 46, 109);
/* oklch */ color: oklch(52.9% 0.179 356.9);
Tailwind
colors: {
  custom: {
    50: '#d07396',
    500: '#b52e6d',
    950: '#000000',
  },
}
SCSS
$custom: #b52e6d;
$custom-light: #d07396;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e6d",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 332,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.1787,
    "h": 356.9
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#B52E6D
secondary
#78C7A2
accent
#E39945
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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