#B5299B#B5299B

#B5299B is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.209 H 337.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B5299B
RGBrgb(181, 41, 155)
HSLhsl(311, 63%, 44%)
HSVhsv(311, 77%, 71%)
CMYKcmyk(0%, 77.3%, 14.4%, 29%)
CIE-LABlab(43.91, 65.35, -30.10)
CIE-LCHlch(43.91, 71.95, 335.27°)
OKLaboklab(54.43% 0.1926 -0.082)
OKLCHoklch(54.43% 0.209 337)
XYZxyz(25.7659, 13.7786, 32.3066)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5299B #29B543
analogous
#8929B5 #B5299B #B52955
triadic
#B5299B #9BB529 #299BB5
tetradic
#B5299B #B58929 #29B543 #2955B5
square
#B5299B #B58929 #29B543 #2955B5
split-complementary
#B5299B #55B529 #29B589
monochromatic
#511246 #831E70 #B5299B #D546BB #E078CD

Accessibility & contrast

On white

5.59
#B5299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B5299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5299B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5299B#FFFFFF#000000##FFFFFF
##B5299B1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#BF3360
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5299b;
/* rgb */ color: rgb(181, 41, 155);
/* oklch */ color: oklch(54.4% 0.209 337.0);
Tailwind
colors: {
  custom: {
    50: '#cf73b9',
    500: '#b5299b',
    950: '#000000',
  },
}
SCSS
$custom: #b5299b;
$custom-light: #cf73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5299b",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 311.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.20936,
    "h": 337
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#B5299B
secondary
#72C882
accent
#E66042
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5299B

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

Preview Lab → · Contrast checker → · Palette generator →

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