#B52595#B52595

#B52595 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.9% C 0.209 H 339.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B52595
RGBrgb(181, 37, 149)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 79.6%, 17.7%, 29%)
CIE-LABlab(43.24, 65.62, -27.53)
CIE-LCHlch(43.24, 71.16, 337.24°)
OKLaboklab(53.85% 0.1954 -0.0746)
OKLCHoklch(53.85% 0.209 339.1)
XYZxyz(25.1431, 13.3193, 29.6747)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52595 #25B545
analogous
#8D25B5 #B52595 #B5254D
triadic
#B52595 #95B525 #2595B5
tetradic
#B52595 #B58D25 #25B545 #254DB5
square
#B52595 #B58D25 #25B545 #254DB5
split-complementary
#B52595 #4DB525 #25B58D
monochromatic
#4F1041 #821B6B #B52595 #D83FB6 #E272C9

Accessibility & contrast

On white

5.73
#B52595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52595
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52595#FFFFFF#000000##FFFFFF
##B525951.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#C02C5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52595;
/* rgb */ color: rgb(181, 37, 149);
/* oklch */ color: oklch(53.9% 0.209 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf71b4',
    500: '#b52595',
    950: '#000000',
  },
}
SCSS
$custom: #b52595;
$custom-light: #cf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52595",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 313.333,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.20915,
    "h": 339.1
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#B52595
secondary
#6DC981
accent
#E9653F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52595

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

Preview Lab → · Contrast checker → · Palette generator →

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