#B5309E#B5309E

#B5309E is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.204 H 336.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B5309E
RGBrgb(181, 48, 158)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 73.5%, 12.7%, 29%)
CIE-LABlab(44.81, 63.63, -30.49)
CIE-LCHlch(44.81, 70.56, 334.40°)
OKLaboklab(55.13% 0.1865 -0.0831)
OKLCHoklch(55.13% 0.204 336)
XYZxyz(26.2850, 14.4087, 33.7379)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5309E #30B547
analogous
#8A30B5 #B5309E #B5305B
triadic
#B5309E #9EB530 #309EB5
tetradic
#B5309E #B58A30 #30B547 #305BB5
square
#B5309E #B58A30 #30B547 #305BB5
split-complementary
#B5309E #5BB530 #30B58A
monochromatic
#54164A #852374 #B5309E #D151BB #DE82CE

Accessibility & contrast

On white

5.41
#B5309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B5309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5309E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5309E#FFFFFF#000000##FFFFFF
##B5309E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#BE3A64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5309e;
/* rgb */ color: rgb(181, 48, 158);
/* oklch */ color: oklch(55.1% 0.204 336.0);
Tailwind
colors: {
  custom: {
    50: '#cf75bb',
    500: '#b5309e',
    950: '#000000',
  },
}
SCSS
$custom: #b5309e;
$custom-light: #cf75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5309e",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 310.376,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.2042,
    "h": 336
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#B5309E
secondary
#7AC787
accent
#E16146
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B5309E

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

Preview Lab → · Contrast checker → · Palette generator →

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