#B52394#B52394

#B52394 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.210 H 339.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B52394
RGBrgb(181, 35, 148)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 80.7%, 18.2%, 29%)
CIE-LABlab(43.01, 66.01, -27.28)
CIE-LCHlch(43.01, 71.42, 337.54°)
OKLaboklab(53.67% 0.1969 -0.0739)
OKLCHoklch(53.67% 0.21 339.4)
XYZxyz(25.0031, 13.1665, 29.2358)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52394 #23B544
analogous
#8D23B5 #B52394 #B5234B
triadic
#B52394 #94B523 #2394B5
tetradic
#B52394 #B58D23 #23B544 #234BB5
square
#B52394 #B58D23 #23B544 #234BB5
split-complementary
#B52394 #4BB523 #23B58D
monochromatic
#4E0F40 #82196A #B52394 #D93CB6 #E36FC9

Accessibility & contrast

On white

5.78
#B52394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B52394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52394
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52394#FFFFFF#000000##FFFFFF
##B523941.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#606E91
Tritanopia (blue-blind)
#C02A5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52394;
/* rgb */ color: rgb(181, 35, 148);
/* oklch */ color: oklch(53.7% 0.210 339.4);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b52394',
    950: '#000000',
  },
}
SCSS
$custom: #b52394;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52394",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 313.562,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.21027,
    "h": 339.4
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#B52394
secondary
#6ACA80
accent
#EA643D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52394

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

Preview Lab → · Contrast checker → · Palette generator →

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