#B52293#B52293

#B52293 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 339.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B52293
RGBrgb(181, 34, 147)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 81.2%, 18.8%, 29%)
CIE-LABlab(42.88, 66.12, -26.88)
CIE-LCHlch(42.88, 71.38, 337.87°)
OKLaboklab(53.56% 0.1975 -0.0727)
OKLCHoklch(53.56% 0.21 339.8)
XYZxyz(24.8953, 13.0770, 28.8111)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52293 #22B544
analogous
#8E22B5 #B52293 #B52249
triadic
#B52293 #93B522 #2293B5
tetradic
#B52293 #B58E22 #22B544 #2249B5
square
#B52293 #B58E22 #22B544 #2249B5
split-complementary
#B52293 #49B522 #22B58E
monochromatic
#4E0F3F #811869 #B52293 #DA3AB5 #E46EC8

Accessibility & contrast

On white

5.81
#B52293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B52293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52293
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52293#FFFFFF#000000##FFFFFF
##B522931.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5796
Deuteranopia (green-blind)
#606D90
Tritanopia (blue-blind)
#C0295A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52293;
/* rgb */ color: rgb(181, 34, 147);
/* oklch */ color: oklch(53.6% 0.210 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b52293',
    950: '#000000',
  },
}
SCSS
$custom: #b52293;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52293",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 313.878,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.21048,
    "h": 339.8
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#B52293
secondary
#69CA7F
accent
#EB653D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52293

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

Preview Lab → · Contrast checker → · Palette generator →

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