#B52295#B52295

#B52295 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.7% C 0.212 H 339.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B52295
RGBrgb(181, 34, 149)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 81.2%, 17.7%, 29%)
CIE-LABlab(42.97, 66.39, -27.95)
CIE-LCHlch(42.97, 72.03, 337.17°)
OKLaboklab(53.66% 0.1977 -0.0758)
OKLCHoklch(53.66% 0.212 339)
XYZxyz(25.0536, 13.1403, 29.6448)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52295 #22B542
analogous
#8B22B5 #B52295 #B5224C
triadic
#B52295 #95B522 #2295B5
tetradic
#B52295 #B58B22 #22B542 #224CB5
square
#B52295 #B58B22 #22B542 #224CB5
split-complementary
#B52295 #4CB522 #22B58B
monochromatic
#4E0F40 #81186B #B52295 #DA3AB7 #E46ECA

Accessibility & contrast

On white

5.79
#B52295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52295
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52295#FFFFFF#000000##FFFFFF
##B522951.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#5F6E92
Tritanopia (blue-blind)
#C02A5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52295;
/* rgb */ color: rgb(181, 34, 149);
/* oklch */ color: oklch(53.7% 0.212 339.0);
Tailwind
colors: {
  custom: {
    50: '#cf70b4',
    500: '#b52295',
    950: '#000000',
  },
}
SCSS
$custom: #b52295;
$custom-light: #cf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52295",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 313.061,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.21174,
    "h": 339
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#B52295
secondary
#69CA7E
accent
#EB633D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52295

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

Preview Lab → · Contrast checker → · Palette generator →

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