#B5309B#B5309B

#B5309B is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.0% C 0.202 H 337.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B5309B
RGBrgb(181, 48, 155)
HSLhsl(312, 58%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 73.5%, 14.4%, 29%)
CIE-LABlab(44.67, 63.19, -28.91)
CIE-LCHlch(44.67, 69.49, 335.41°)
OKLaboklab(54.98% 0.1862 -0.0786)
OKLCHoklch(54.98% 0.202 337.1)
XYZxyz(26.0299, 14.3066, 32.3946)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5309B #30B54A
analogous
#8C30B5 #B5309B #B53059
triadic
#B5309B #9BB530 #309BB5
tetradic
#B5309B #B58C30 #30B54A #3059B5
square
#B5309B #B58C30 #30B54A #3059B5
split-complementary
#B5309B #59B530 #30B58C
monochromatic
#541648 #852372 #B5309B #D151B8 #DE82CC

Accessibility & contrast

On white

5.44
#B5309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B5309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5309B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5309B#FFFFFF#000000##FFFFFF
##B5309B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9E
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#BF3862
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5309b;
/* rgb */ color: rgb(181, 48, 155);
/* oklch */ color: oklch(55.0% 0.202 337.1);
Tailwind
colors: {
  custom: {
    50: '#cf75b9',
    500: '#b5309b',
    950: '#000000',
  },
}
SCSS
$custom: #b5309b;
$custom-light: #cf75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5309b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 311.729,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.20212,
    "h": 337.1
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#B5309B
secondary
#7AC789
accent
#E16546
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5309B

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

Preview Lab → · Contrast checker → · Palette generator →

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