#B5259B#B5259B

#B5259B is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.2% C 0.213 H 336.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B5259B
RGBrgb(181, 37, 155)
HSLhsl(311, 66%, 43%)
HSVhsv(311, 80%, 71%)
CMYKcmyk(0%, 79.6%, 14.4%, 29%)
CIE-LABlab(43.53, 66.45, -30.70)
CIE-LCHlch(43.53, 73.20, 335.21°)
OKLaboklab(54.16% 0.196 -0.0836)
OKLCHoklch(54.16% 0.213 336.9)
XYZxyz(25.6345, 13.5159, 32.2628)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5259B #25B53F
analogous
#8725B5 #B5259B #B52553
triadic
#B5259B #9BB525 #259BB5
tetradic
#B5259B #B58725 #25B53F #2553B5
square
#B5259B #B58725 #25B53F #2553B5
split-complementary
#B5259B #53B525 #25B587
monochromatic
#4F1044 #821B6F #B5259B #D83FBC #E272CE

Accessibility & contrast

On white

5.67
#B5259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5259B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5259B#FFFFFF#000000##FFFFFF
##B5259B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#5E6E98
Tritanopia (blue-blind)
#BF305F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5259b;
/* rgb */ color: rgb(181, 37, 155);
/* oklch */ color: oklch(54.2% 0.213 336.9);
Tailwind
colors: {
  custom: {
    50: '#cf71b9',
    500: '#b5259b',
    950: '#000000',
  },
}
SCSS
$custom: #b5259b;
$custom-light: #cf71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5259b",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 310.833,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.21306,
    "h": 336.9
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#B5259B
secondary
#6DC97D
accent
#E95E3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5259B

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

Preview Lab → · Contrast checker → · Palette generator →

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