#B5259C#B5259C

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

Color values

HEX#B5259C
RGBrgb(181, 37, 156)
HSLhsl(310, 66%, 43%)
HSVhsv(310, 80%, 71%)
CMYKcmyk(0%, 79.6%, 13.8%, 29%)
CIE-LABlab(43.58, 66.59, -31.22)
CIE-LCHlch(43.58, 73.55, 334.88°)
OKLaboklab(54.21% 0.196 -0.0851)
OKLCHoklch(54.21% 0.214 336.5)
XYZxyz(25.7189, 13.5496, 32.7069)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5259C #25B53E
analogous
#8625B5 #B5259C #B52554
triadic
#B5259C #9CB525 #259CB5
tetradic
#B5259C #B58625 #25B53E #2554B5
square
#B5259C #B58625 #25B53E #2554B5
split-complementary
#B5259C #54B525 #25B586
monochromatic
#4F1044 #821B70 #B5259C #D83FBD #E272CF

Accessibility & contrast

On white

5.66
#B5259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B5259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5259C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5259C#FFFFFF#000000##FFFFFF
##B5259C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#5D6F99
Tritanopia (blue-blind)
#BF3060
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5259c;
/* rgb */ color: rgb(181, 37, 156);
/* oklch */ color: oklch(54.2% 0.214 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf71b9',
    500: '#b5259c',
    950: '#000000',
  },
}
SCSS
$custom: #b5259c;
$custom-light: #cf71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5259c",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 310.417,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.21372,
    "h": 336.5
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5259C

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

Preview Lab → · Contrast checker → · Palette generator →

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