#B52F94#B52F94

#B52F94 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.199 H 339.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B52F94
RGBrgb(181, 47, 148)
HSLhsl(315, 59%, 45%)
HSVhsv(315, 74%, 71%)
CMYKcmyk(0%, 74%, 18.2%, 29%)
CIE-LABlab(44.23, 62.53, -25.39)
CIE-LCHlch(44.23, 67.49, 337.90°)
OKLaboklab(54.55% 0.1863 -0.0686)
OKLCHoklch(54.55% 0.199 339.8)
XYZxyz(25.4186, 13.9974, 29.3743)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F94 #2FB550
analogous
#932FB5 #B52F94 #B52F51
triadic
#B52F94 #94B52F #2F94B5
tetradic
#B52F94 #B5932F #2FB550 #2F51B5
square
#B52F94 #B5932F #2FB550 #2F51B5
split-complementary
#B52F94 #51B52F #2FB593
monochromatic
#541645 #84226C #B52F94 #D150B2 #DE80C7

Accessibility & contrast

On white

5.53
#B52F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B52F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F94
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F94#FFFFFF#000000##FFFFFF
##B52F941.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B97
Deuteranopia (green-blind)
#647091
Tritanopia (blue-blind)
#C0345E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f94;
/* rgb */ color: rgb(181, 47, 148);
/* oklch */ color: oklch(54.6% 0.199 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf75b3',
    500: '#b52f94',
    950: '#000000',
  },
}
SCSS
$custom: #b52f94;
$custom-light: #cf75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f94",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 314.776,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.19853,
    "h": 339.8
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#B52F94
secondary
#79C78C
accent
#E26C46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F94

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

Preview Lab → · Contrast checker → · Palette generator →

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