#B5306F#B5306F

#B5306F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 356.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B5306F
RGBrgb(181, 48, 111)
HSLhsl(332, 58%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 73.5%, 38.7%, 29%)
CIE-LABlab(42.90, 57.64, -4.76)
CIE-LCHlch(42.90, 57.84, 355.28°)
OKLaboklab(53.11% 0.1769 -0.0118)
OKLCHoklch(53.11% 0.177 356.2)
XYZxyz(22.9838, 13.0882, 16.3518)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5306F #30B576
analogous
#B530B2 #B5306F #B53330
triadic
#B5306F #6FB530 #306FB5
tetradic
#B5306F #B2B530 #30B576 #3330B5
square
#B5306F #B2B530 #30B576 #3330B5
split-complementary
#B5306F #30B533 #30B2B5
monochromatic
#541634 #852351 #B5306F #D1518E #DE82AD

Accessibility & contrast

On white

5.81
#B5306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B5306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5306F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5306F#FFFFFF#000000##FFFFFF
##B5306F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C4204B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5306f;
/* rgb */ color: rgb(181, 48, 111);
/* oklch */ color: oklch(53.1% 0.177 356.2);
Tailwind
colors: {
  custom: {
    50: '#d07498',
    500: '#b5306f',
    950: '#000000',
  },
}
SCSS
$custom: #b5306f;
$custom-light: #d07498;
$custom-dark: #000000;
JSON
{
  "hex": "#b5306f",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 331.579,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.1773,
    "h": 356.2
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#B5306F
secondary
#7AC7A2
accent
#E19846
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5306F

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

Preview Lab → · Contrast checker → · Palette generator →

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