#B52794#B52794

#B52794 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.207 H 339.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B52794
RGBrgb(181, 39, 148)
HSLhsl(314, 65%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 78.5%, 18.2%, 29%)
CIE-LABlab(43.38, 64.94, -26.70)
CIE-LCHlch(43.38, 70.22, 337.65°)
OKLaboklab(53.94% 0.1936 -0.0723)
OKLCHoklch(53.94% 0.207 339.5)
XYZxyz(25.1276, 13.4154, 29.2773)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52794 #27B548
analogous
#8F27B5 #B52794 #B5274D
triadic
#B52794 #94B527 #2794B5
tetradic
#B52794 #B58F27 #27B548 #274DB5
square
#B52794 #B58F27 #27B548 #274DB5
split-complementary
#B52794 #4DB527 #27B58F
monochromatic
#501142 #831C6B #B52794 #D643B4 #E175C8

Accessibility & contrast

On white

5.70
#B52794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52794
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52794#FFFFFF#000000##FFFFFF
##B527941.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#616E91
Tritanopia (blue-blind)
#C02D5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52794;
/* rgb */ color: rgb(181, 39, 148);
/* oklch */ color: oklch(53.9% 0.207 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf72b3',
    500: '#b52794',
    950: '#000000',
  },
}
SCSS
$custom: #b52794;
$custom-light: #cf72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52794",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 313.944,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.20668,
    "h": 339.5
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#B52794
secondary
#6FC984
accent
#E86740
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52794

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

Preview Lab → · Contrast checker → · Palette generator →

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