#B5307A#B5307A

#B5307A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.182 H 351.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B5307A
RGBrgb(181, 48, 122)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 73%, 71%)
CMYKcmyk(0%, 73.5%, 32.6%, 29%)
CIE-LABlab(43.28, 58.87, -10.99)
CIE-LCHlch(43.28, 59.89, 349.43°)
OKLaboklab(53.51% 0.18 -0.0285)
OKLCHoklch(53.51% 0.182 351)
XYZxyz(23.6272, 13.3455, 19.7403)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307A #30B56B
analogous
#AE30B5 #B5307A #B53037
triadic
#B5307A #7AB530 #307AB5
tetradic
#B5307A #B5AE30 #30B56B #3037B5
square
#B5307A #B5AE30 #30B56B #3037B5
split-complementary
#B5307A #37B530 #30B5AE
monochromatic
#541639 #852359 #B5307A #D15198 #DE82B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5307A#FFFFFF#000000##FFFFFF
##B5307A1.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)
#46577C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#C32751
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5307a;
/* rgb */ color: rgb(181, 48, 122);
/* oklch */ color: oklch(53.5% 0.182 351.0);
Tailwind
colors: {
  custom: {
    50: '#d074a0',
    500: '#b5307a',
    950: '#000000',
  },
}
SCSS
$custom: #b5307a;
$custom-light: #d074a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 326.617,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.18228,
    "h": 351
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#B5307A
secondary
#7AC79C
accent
#E18B46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B5307A

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

Preview Lab → · Contrast checker → · Palette generator →

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