#B52E8F#B52E8F

#B52E8F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.196 H 341.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B52E8F
RGBrgb(181, 46, 143)
HSLhsl(317, 59%, 45%)
HSVhsv(317, 75%, 71%)
CMYKcmyk(0%, 74.6%, 21%, 29%)
CIE-LABlab(43.89, 62.17, -22.89)
CIE-LCHlch(43.89, 66.25, 339.79°)
OKLaboklab(54.23% 0.1866 -0.0615)
OKLCHoklch(54.23% 0.196 341.8)
XYZxyz(24.9918, 13.7635, 27.3217)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E8F #2EB554
analogous
#982EB5 #B52E8F #B52E4C
triadic
#B52E8F #8FB52E #2E8FB5
tetradic
#B52E8F #B5982E #2EB554 #2E4CB5
square
#B52E8F #B5982E #2EB554 #2E4CB5
split-complementary
#B52E8F #4CB52E #2EB598
monochromatic
#531542 #842268 #B52E8F #D24EAD #DE7FC4

Accessibility & contrast

On white

5.60
#B52E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B52E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E8F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E8F#FFFFFF#000000##FFFFFF
##B52E8F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#C0305B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52e8f;
/* rgb */ color: rgb(181, 46, 143);
/* oklch */ color: oklch(54.2% 0.196 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf74b0',
    500: '#b52e8f',
    950: '#000000',
  },
}
SCSS
$custom: #b52e8f;
$custom-light: #cf74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e8f",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 316.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.19643,
    "h": 341.8
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#B52E8F
secondary
#78C78E
accent
#E37145
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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