#B52697#B52697

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

Color values

HEX#B52697
RGBrgb(181, 38, 151)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 79%, 16.6%, 29%)
CIE-LABlab(43.43, 65.63, -28.44)
CIE-LCHlch(43.43, 71.53, 336.57°)
OKLaboklab(54.02% 0.1948 -0.0772)
OKLCHoklch(54.02% 0.21 338.4)
XYZxyz(25.3357, 13.4469, 30.5334)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52697 #26B544
analogous
#8B26B5 #B52697 #B52650
triadic
#B52697 #97B526 #2697B5
tetradic
#B52697 #B58B26 #26B544 #2650B5
square
#B52697 #B58B26 #26B544 #2650B5
split-complementary
#B52697 #50B526 #26B58B
monochromatic
#501143 #821B6D #B52697 #D741B8 #E274CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52697#FFFFFF#000000##FFFFFF
##B526971.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)
#2E599A
Deuteranopia (green-blind)
#606E94
Tritanopia (blue-blind)
#BF2E5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52697;
/* rgb */ color: rgb(181, 38, 151);
/* oklch */ color: oklch(54.0% 0.210 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf71b6',
    500: '#b52697',
    950: '#000000',
  },
}
SCSS
$custom: #b52697;
$custom-light: #cf71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52697",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 312.587,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.20954,
    "h": 338.4
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#B52697
secondary
#6EC981
accent
#E86340
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52697

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

Preview Lab → · Contrast checker → · Palette generator →

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