#B5309A#B5309A

#B5309A is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 54.9% C 0.201 H 337.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B5309A
RGBrgb(181, 48, 154)
HSLhsl(312, 58%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 73.5%, 14.9%, 29%)
CIE-LABlab(44.62, 63.05, -28.39)
CIE-LCHlch(44.62, 69.14, 335.76°)
OKLaboklab(54.93% 0.1861 -0.0771)
OKLCHoklch(54.93% 0.201 337.5)
XYZxyz(25.9463, 14.2732, 31.9541)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5309A #30B54B
analogous
#8D30B5 #B5309A #B53058
triadic
#B5309A #9AB530 #309AB5
tetradic
#B5309A #B58D30 #30B54B #3058B5
square
#B5309A #B58D30 #30B54B #3058B5
split-complementary
#B5309A #58B530 #30B58D
monochromatic
#541648 #852371 #B5309A #D151B7 #DE82CB

Accessibility & contrast

On white

5.45
#B5309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B5309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5309A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5309A#FFFFFF#000000##FFFFFF
##B5309A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#BF3861
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5309a;
/* rgb */ color: rgb(181, 48, 154);
/* oklch */ color: oklch(54.9% 0.201 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf75b8',
    500: '#b5309a',
    950: '#000000',
  },
}
SCSS
$custom: #b5309a;
$custom-light: #cf75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b5309a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 312.18,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.20144,
    "h": 337.5
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#B5309A
secondary
#7AC78A
accent
#E16646
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5309A

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

Preview Lab → · Contrast checker → · Palette generator →

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