#B5306A#B5306A

#B5306A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 358.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B5306A
RGBrgb(181, 48, 106)
HSLhsl(334, 58%, 45%)
HSVhsv(334, 73%, 71%)
CMYKcmyk(0%, 73.5%, 41.4%, 29%)
CIE-LABlab(42.73, 57.12, -1.89)
CIE-LCHlch(42.73, 57.16, 358.10°)
OKLaboklab(52.93% 0.1753 -0.0043)
OKLCHoklch(52.93% 0.175 358.6)
XYZxyz(22.7162, 12.9811, 14.9423)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5306A #30B57B
analogous
#B530AC #B5306A #B53930
triadic
#B5306A #6AB530 #306AB5
tetradic
#B5306A #ACB530 #30B57B #3930B5
square
#B5306A #ACB530 #30B57B #3930B5
split-complementary
#B5306A #30B539 #30ACB5
monochromatic
#541631 #85234E #B5306A #D15189 #DE82AA

Accessibility & contrast

On white

5.84
#B5306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B5306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5306A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5306A#FFFFFF#000000##FFFFFF
##B5306A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C41D49
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5306a;
/* rgb */ color: rgb(181, 48, 106);
/* oklch */ color: oklch(52.9% 0.175 358.6);
Tailwind
colors: {
  custom: {
    50: '#d07494',
    500: '#b5306a',
    950: '#000000',
  },
}
SCSS
$custom: #b5306a;
$custom-light: #d07494;
$custom-dark: #000000;
JSON
{
  "hex": "#b5306a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 333.835,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.17537,
    "h": 358.6
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#B5306A
secondary
#7AC7A5
accent
#E19E46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5306A

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

Preview Lab → · Contrast checker → · Palette generator →

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