#B52E8D#B52E8D

#B52E8D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.195 H 342.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B52E8D
RGBrgb(181, 46, 141)
HSLhsl(318, 59%, 45%)
HSVhsv(318, 75%, 71%)
CMYKcmyk(0%, 74.6%, 22.1%, 29%)
CIE-LABlab(43.80, 61.90, -21.81)
CIE-LCHlch(43.80, 65.63, 340.59°)
OKLaboklab(54.14% 0.1862 -0.0585)
OKLCHoklch(54.14% 0.195 342.6)
XYZxyz(24.8416, 13.7034, 26.5309)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E8D #2EB556
analogous
#9A2EB5 #B52E8D #B52E4A
triadic
#B52E8D #8DB52E #2E8DB5
tetradic
#B52E8D #B59A2E #2EB556 #2E4AB5
square
#B52E8D #B59A2E #2EB556 #2E4AB5
split-complementary
#B52E8D #4AB52E #2EB59A
monochromatic
#531541 #842267 #B52E8D #D24EAB #DE7FC2

Accessibility & contrast

On white

5.61
#B52E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B52E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E8D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E8D#FFFFFF#000000##FFFFFF
##B52E8D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5990
Deuteranopia (green-blind)
#666F8A
Tritanopia (blue-blind)
#C12F5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52e8d;
/* rgb */ color: rgb(181, 46, 141);
/* oklch */ color: oklch(54.1% 0.195 342.6);
Tailwind
colors: {
  custom: {
    50: '#cf74ae',
    500: '#b52e8d',
    950: '#000000',
  },
}
SCSS
$custom: #b52e8d;
$custom-light: #cf74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e8d",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 317.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.19518,
    "h": 342.6
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#B52E8D
secondary
#78C78F
accent
#E37445
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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