#B5305A#B5305A

#B5305A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 6.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B5305A
RGBrgb(181, 48, 90)
HSLhsl(341, 58%, 45%)
HSVhsv(341, 73%, 71%)
CMYKcmyk(0%, 73.5%, 50.3%, 29%)
CIE-LABlab(42.28, 55.62, 7.43)
CIE-LCHlch(42.28, 56.12, 7.61°)
OKLaboklab(52.45% 0.1697 0.0194)
OKLCHoklch(52.45% 0.171 6.5)
XYZxyz(21.9604, 12.6788, 10.9617)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305A #30B58B
analogous
#B5309C #B5305A #B54930
triadic
#B5305A #5AB530 #305AB5
tetradic
#B5305A #9CB530 #30B58B #4930B5
square
#B5305A #9CB530 #30B58B #4930B5
split-complementary
#B5305A #30B549 #309CB5
monochromatic
#54162A #852342 #B5305A #D1517A #DE829F

Accessibility & contrast

On white

5.94
#B5305A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B5305A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5305A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5305A#FFFFFF#000000##FFFFFF
##B5305A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535B
Deuteranopia (green-blind)
#736D57
Tritanopia (blue-blind)
#C51342
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5305a;
/* rgb */ color: rgb(181, 48, 90);
/* oklch */ color: oklch(52.4% 0.171 6.5);
Tailwind
colors: {
  custom: {
    50: '#d17388',
    500: '#b5305a',
    950: '#000000',
  },
}
SCSS
$custom: #b5305a;
$custom-light: #d17388;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305a",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 341.053,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.17079,
    "h": 6.5
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#B5305A
secondary
#7AC7AF
accent
#E1B046
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5305A

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

Preview Lab → · Contrast checker → · Palette generator →

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