#B5305B#B5305B

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

Color values

HEX#B5305B
RGBrgb(181, 48, 91)
HSLhsl(341, 58%, 45%)
HSVhsv(341, 73%, 71%)
CMYKcmyk(0%, 73.5%, 49.7%, 29%)
CIE-LABlab(42.30, 55.71, 6.85)
CIE-LCHlch(42.30, 56.13, 7.01°)
OKLaboklab(52.47% 0.1701 0.0179)
OKLCHoklch(52.47% 0.171 6)
XYZxyz(22.0032, 12.6960, 11.1874)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305B #30B58A
analogous
#B5309D #B5305B #B54830
triadic
#B5305B #5BB530 #305BB5
tetradic
#B5305B #9DB530 #30B58A #4830B5
square
#B5305B #9DB530 #30B58A #4830B5
split-complementary
#B5305B #30B548 #309DB5
monochromatic
#54162A #852343 #B5305B #D1517B #DE829F

Accessibility & contrast

On white

5.93
#B5305B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5305B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5305B#FFFFFF#000000##FFFFFF
##B5305B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5305b;
/* rgb */ color: rgb(181, 48, 91);
/* oklch */ color: oklch(52.5% 0.171 6.0);
Tailwind
colors: {
  custom: {
    50: '#d17389',
    500: '#b5305b',
    950: '#000000',
  },
}
SCSS
$custom: #b5305b;
$custom-light: #d17389;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305b",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 340.602,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.17101,
    "h": 6
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#B5305B
secondary
#7AC7AE
accent
#E1AF46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5305B

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

Preview Lab → · Contrast checker → · Palette generator →

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