#B5307B#B5307B

#B5307B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 350.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B5307B
RGBrgb(181, 48, 123)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 73%, 71%)
CMYKcmyk(0%, 73.5%, 32%, 29%)
CIE-LABlab(43.32, 58.99, -11.55)
CIE-LCHlch(43.32, 60.11, 348.92°)
OKLaboklab(53.55% 0.1803 -0.03)
OKLCHoklch(53.55% 0.183 350.5)
XYZxyz(23.6895, 13.3705, 20.0683)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307B #30B56A
analogous
#AC30B5 #B5307B #B53039
triadic
#B5307B #7BB530 #307BB5
tetradic
#B5307B #B5AC30 #30B56A #3039B5
square
#B5307B #B5AC30 #30B56A #3039B5
split-complementary
#B5307B #39B530 #30B5AC
monochromatic
#541639 #85235A #B5307B #D15199 #DE82B6

Accessibility & contrast

On white

5.72
#B5307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B5307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5307B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5307B#FFFFFF#000000##FFFFFF
##B5307B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#C22751
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5307b;
/* rgb */ color: rgb(181, 48, 123);
/* oklch */ color: oklch(53.6% 0.183 350.5);
Tailwind
colors: {
  custom: {
    50: '#d074a1',
    500: '#b5307b',
    950: '#000000',
  },
}
SCSS
$custom: #b5307b;
$custom-light: #d074a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 326.165,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.18279,
    "h": 350.5
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#B5307B
secondary
#7AC79B
accent
#E18A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B5307B

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

Preview Lab → · Contrast checker → · Palette generator →

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