#B5306D#B5306D

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

Color values

HEX#B5306D
RGBrgb(181, 48, 109)
HSLhsl(332, 58%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 73.5%, 39.8%, 29%)
CIE-LABlab(42.83, 57.43, -3.62)
CIE-LCHlch(42.83, 57.55, 356.39°)
OKLaboklab(53.04% 0.1763 -0.0088)
OKLCHoklch(53.04% 0.177 357.1)
XYZxyz(22.8749, 13.0446, 15.7783)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5306D #30B578
analogous
#B530B0 #B5306D #B53530
triadic
#B5306D #6DB530 #306DB5
tetradic
#B5306D #B0B530 #30B578 #3530B5
square
#B5306D #B0B530 #30B578 #3530B5
split-complementary
#B5306D #30B535 #30B0B5
monochromatic
#541633 #852350 #B5306D #D1518C #DE82AC

Accessibility & contrast

On white

5.82
#B5306D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B5306D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5306D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5306D#FFFFFF#000000##FFFFFF
##B5306D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556F
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#C41F4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5306d;
/* rgb */ color: rgb(181, 48, 109);
/* oklch */ color: oklch(53.0% 0.176 357.1);
Tailwind
colors: {
  custom: {
    50: '#d07496',
    500: '#b5306d',
    950: '#000000',
  },
}
SCSS
$custom: #b5306d;
$custom-light: #d07496;
$custom-dark: #000000;
JSON
{
  "hex": "#b5306d",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 332.481,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.1765,
    "h": 357.1
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#B5306D
secondary
#7AC7A4
accent
#E19A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5306D

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

Preview Lab → · Contrast checker → · Palette generator →

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