#B52795#B52795

#B52795 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.207 H 339.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B52795
RGBrgb(181, 39, 149)
HSLhsl(314, 65%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 78.5%, 17.7%, 29%)
CIE-LABlab(43.43, 65.08, -27.24)
CIE-LCHlch(43.43, 70.55, 337.29°)
OKLaboklab(53.99% 0.1938 -0.0738)
OKLCHoklch(53.99% 0.207 339.2)
XYZxyz(25.2071, 13.4472, 29.6960)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52795 #27B547
analogous
#8E27B5 #B52795 #B5274E
triadic
#B52795 #95B527 #2795B5
tetradic
#B52795 #B58E27 #27B547 #274EB5
square
#B52795 #B58E27 #27B547 #274EB5
split-complementary
#B52795 #4EB527 #27B58E
monochromatic
#501142 #831C6C #B52795 #D643B5 #E175C9

Accessibility & contrast

On white

5.69
#B52795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B52795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52795
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52795#FFFFFF#000000##FFFFFF
##B527951.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315898
Deuteranopia (green-blind)
#616E92
Tritanopia (blue-blind)
#C02E5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52795;
/* rgb */ color: rgb(181, 39, 149);
/* oklch */ color: oklch(54.0% 0.207 339.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b4',
    500: '#b52795',
    950: '#000000',
  },
}
SCSS
$custom: #b52795;
$custom-light: #cf72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52795",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 313.521,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.20732,
    "h": 339.2
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#B52795
secondary
#6FC983
accent
#E86640
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52795

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

Preview Lab → · Contrast checker → · Palette generator →

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