#B5306B#B5306B

#B5306B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.176 H 358.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B5306B
RGBrgb(181, 48, 107)
HSLhsl(333, 58%, 45%)
HSVhsv(333, 73%, 71%)
CMYKcmyk(0%, 73.5%, 40.9%, 29%)
CIE-LABlab(42.77, 57.23, -2.47)
CIE-LCHlch(42.77, 57.28, 357.53°)
OKLaboklab(52.97% 0.1757 -0.0058)
OKLCHoklch(52.97% 0.176 358.1)
XYZxyz(22.7685, 13.0021, 15.2177)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5306B #30B57A
analogous
#B530AE #B5306B #B53730
triadic
#B5306B #6BB530 #306BB5
tetradic
#B5306B #AEB530 #30B57A #3730B5
square
#B5306B #AEB530 #30B57A #3730B5
split-complementary
#B5306B #30B537 #30AEB5
monochromatic
#541632 #85234E #B5306B #D1518A #DE82AB

Accessibility & contrast

On white

5.83
#B5306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B5306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5306B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5306B#FFFFFF#000000##FFFFFF
##B5306B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556D
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C41E49
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5306b;
/* rgb */ color: rgb(181, 48, 107);
/* oklch */ color: oklch(53.0% 0.176 358.1);
Tailwind
colors: {
  custom: {
    50: '#d07495',
    500: '#b5306b',
    950: '#000000',
  },
}
SCSS
$custom: #b5306b;
$custom-light: #d07495;
$custom-dark: #000000;
JSON
{
  "hex": "#b5306b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 333.383,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.17574,
    "h": 358.1
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#B5306B
secondary
#7AC7A5
accent
#E19D46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5306B

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

Preview Lab → · Contrast checker → · Palette generator →

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