#B52493#B52493

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

Color values

HEX#B52493
RGBrgb(181, 36, 147)
HSLhsl(314, 67%, 43%)
HSVhsv(314, 80%, 71%)
CMYKcmyk(0%, 80.1%, 18.8%, 29%)
CIE-LABlab(43.05, 65.62, -26.61)
CIE-LCHlch(43.05, 70.81, 337.93°)
OKLaboklab(53.69% 0.196 -0.072)
OKLCHoklch(53.69% 0.209 339.8)
XYZxyz(24.9541, 13.1946, 28.8307)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52493 #24B546
analogous
#8E24B5 #B52493 #B5244B
triadic
#B52493 #93B524 #2493B5
tetradic
#B52493 #B58E24 #24B546 #244BB5
square
#B52493 #B58E24 #24B546 #244BB5
split-complementary
#B52493 #4BB524 #24B58E
monochromatic
#4F1040 #821A6A #B52493 #D93EB4 #E371C8

Accessibility & contrast

On white

5.77
#B52493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B52493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52493
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52493#FFFFFF#000000##FFFFFF
##B524931.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#C02A5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52493;
/* rgb */ color: rgb(181, 36, 147);
/* oklch */ color: oklch(53.7% 0.209 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf71b3',
    500: '#b52493',
    950: '#000000',
  },
}
SCSS
$custom: #b52493;
$custom-light: #cf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52493",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 314.069,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.20877,
    "h": 339.8
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#B52493
secondary
#6BC981
accent
#EA663E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52493

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

Preview Lab → · Contrast checker → · Palette generator →

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