#B5309C#B5309C

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

Color values

HEX#B5309C
RGBrgb(181, 48, 156)
HSLhsl(311, 58%, 45%)
HSVhsv(311, 73%, 71%)
CMYKcmyk(0%, 73.5%, 13.8%, 29%)
CIE-LABlab(44.72, 63.34, -29.44)
CIE-LCHlch(44.72, 69.84, 335.07°)
OKLaboklab(55.03% 0.1863 -0.0801)
OKLCHoklch(55.03% 0.203 336.7)
XYZxyz(26.1142, 14.3404, 32.8387)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5309C #30B549
analogous
#8B30B5 #B5309C #B5305A
triadic
#B5309C #9CB530 #309CB5
tetradic
#B5309C #B58B30 #30B549 #305AB5
square
#B5309C #B58B30 #30B549 #305AB5
split-complementary
#B5309C #5AB530 #30B58B
monochromatic
#541649 #852372 #B5309C #D151B9 #DE82CC

Accessibility & contrast

On white

5.43
#B5309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B5309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5309C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5309C#FFFFFF#000000##FFFFFF
##B5309C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#BF3963
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5309c;
/* rgb */ color: rgb(181, 48, 156);
/* oklch */ color: oklch(55.0% 0.203 336.7);
Tailwind
colors: {
  custom: {
    50: '#cf75b9',
    500: '#b5309c',
    950: '#000000',
  },
}
SCSS
$custom: #b5309c;
$custom-light: #cf75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5309c",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 311.278,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.20281,
    "h": 336.7
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#B5309C
secondary
#7AC788
accent
#E16446
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5309C

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

Preview Lab → · Contrast checker → · Palette generator →

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