#B5306E#B5306E

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

Color values

HEX#B5306E
RGBrgb(181, 48, 110)
HSLhsl(332, 58%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 73.5%, 39.2%, 29%)
CIE-LABlab(42.86, 57.54, -4.19)
CIE-LCHlch(42.86, 57.69, 355.83°)
OKLaboklab(53.07% 0.1766 -0.0103)
OKLCHoklch(53.07% 0.177 356.7)
XYZxyz(22.9290, 13.0663, 16.0634)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5306E #30B577
analogous
#B530B1 #B5306E #B53430
triadic
#B5306E #6EB530 #306EB5
tetradic
#B5306E #B1B530 #30B577 #3430B5
square
#B5306E #B1B530 #30B577 #3430B5
split-complementary
#B5306E #30B534 #30B1B5
monochromatic
#541633 #852351 #B5306E #D1518D #DE82AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5306E#FFFFFF#000000##FFFFFF
##B5306E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5306e;
/* rgb */ color: rgb(181, 48, 110);
/* oklch */ color: oklch(53.1% 0.177 356.7);
Tailwind
colors: {
  custom: {
    50: '#d07497',
    500: '#b5306e',
    950: '#000000',
  },
}
SCSS
$custom: #b5306e;
$custom-light: #d07497;
$custom-dark: #000000;
JSON
{
  "hex": "#b5306e",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 332.03,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.1769,
    "h": 356.7
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#B5306E
secondary
#7AC7A3
accent
#E19946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5306E

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

Preview Lab → · Contrast checker → · Palette generator →

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