#B5259A#B5259A

#B5259A is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.1% C 0.212 H 337.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B5259A
RGBrgb(181, 37, 154)
HSLhsl(311, 66%, 43%)
HSVhsv(311, 80%, 71%)
CMYKcmyk(0%, 79.6%, 14.9%, 29%)
CIE-LABlab(43.48, 66.31, -30.17)
CIE-LCHlch(43.48, 72.85, 335.53°)
OKLaboklab(54.11% 0.1959 -0.0821)
OKLCHoklch(54.11% 0.212 337.2)
XYZxyz(25.5509, 13.4825, 31.8223)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5259A #25B540
analogous
#8825B5 #B5259A #B52552
triadic
#B5259A #9AB525 #259AB5
tetradic
#B5259A #B58825 #25B540 #2552B5
square
#B5259A #B58825 #25B540 #2552B5
split-complementary
#B5259A #52B525 #25B588
monochromatic
#4F1044 #821B6F #B5259A #D83FBB #E272CD

Accessibility & contrast

On white

5.68
#B5259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B5259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5259A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5259A#FFFFFF#000000##FFFFFF
##B5259A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#BF2F5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5259a;
/* rgb */ color: rgb(181, 37, 154);
/* oklch */ color: oklch(54.1% 0.212 337.2);
Tailwind
colors: {
  custom: {
    50: '#cf71b8',
    500: '#b5259a',
    950: '#000000',
  },
}
SCSS
$custom: #b5259a;
$custom-light: #cf71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b5259a",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 311.25,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.2124,
    "h": 337.2
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#B5259A
secondary
#6DC97E
accent
#E95F3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5259A

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

Preview Lab → · Contrast checker → · Palette generator →

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