#B5308B#B5308B

#B5308B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.192 H 343.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B5308B
RGBrgb(181, 48, 139)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 71%)
CMYKcmyk(0%, 73.5%, 23.2%, 29%)
CIE-LABlab(43.95, 60.98, -20.37)
CIE-LCHlch(43.95, 64.29, 341.53°)
OKLaboklab(54.22% 0.1839 -0.0544)
OKLCHoklch(54.22% 0.192 343.5)
XYZxyz(24.7741, 13.8043, 25.7809)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5308B #30B55A
analogous
#9C30B5 #B5308B #B53049
triadic
#B5308B #8BB530 #308BB5
tetradic
#B5308B #B59C30 #30B55A #3049B5
square
#B5308B #B59C30 #30B55A #3049B5
split-complementary
#B5308B #49B530 #30B59C
monochromatic
#541641 #852366 #B5308B #D151A9 #DE82C1

Accessibility & contrast

On white

5.58
#B5308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B5308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5308B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5308B#FFFFFF#000000##FFFFFF
##B5308B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#C1305A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5308b;
/* rgb */ color: rgb(181, 48, 139);
/* oklch */ color: oklch(54.2% 0.192 343.5);
Tailwind
colors: {
  custom: {
    50: '#cf75ad',
    500: '#b5308b',
    950: '#000000',
  },
}
SCSS
$custom: #b5308b;
$custom-light: #cf75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5308b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 318.947,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.19174,
    "h": 343.5
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#B5308B
secondary
#7AC792
accent
#E17746
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5308B

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

Preview Lab → · Contrast checker → · Palette generator →

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