#B52E6C#B52E6C

#B52E6C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.178 H 357.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B52E6C
RGBrgb(181, 46, 108)
HSLhsl(332, 59%, 45%)
HSVhsv(332, 75%, 71%)
CMYKcmyk(0%, 74.6%, 40.3%, 29%)
CIE-LABlab(42.56, 58.01, -3.40)
CIE-LCHlch(42.56, 58.11, 356.64°)
OKLaboklab(52.82% 0.1781 -0.0082)
OKLCHoklch(52.82% 0.178 357.4)
XYZxyz(22.7414, 12.8633, 15.4698)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E6C #2EB577
analogous
#B52EB0 #B52E6C #B5332E
triadic
#B52E6C #6CB52E #2E6CB5
tetradic
#B52E6C #B0B52E #2EB577 #332EB5
square
#B52E6C #B0B52E #2EB577 #332EB5
split-complementary
#B52E6C #2EB533 #2EB0B5
monochromatic
#531532 #84224F #B52E6C #D24E8B #DE7FAB

Accessibility & contrast

On white

5.88
#B52E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B52E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E6C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E6C#FFFFFF#000000##FFFFFF
##B52E6C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546E
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#C41C49
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52e6c;
/* rgb */ color: rgb(181, 46, 108);
/* oklch */ color: oklch(52.8% 0.178 357.4);
Tailwind
colors: {
  custom: {
    50: '#d07396',
    500: '#b52e6c',
    950: '#000000',
  },
}
SCSS
$custom: #b52e6c;
$custom-light: #d07396;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e6c",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 332.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.17832,
    "h": 357.4
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#B52E6C
secondary
#78C7A3
accent
#E39A45
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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