#B5305D#B5305D

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

Color values

HEX#B5305D
RGBrgb(181, 48, 93)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.5%, 48.6%, 29%)
CIE-LABlab(42.35, 55.89, 5.67)
CIE-LCHlch(42.35, 56.17, 5.79°)
OKLaboklab(52.53% 0.1708 0.015)
OKLCHoklch(52.53% 0.171 5)
XYZxyz(22.0906, 12.7309, 11.6479)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305D #30B588
analogous
#B530A0 #B5305D #B54530
triadic
#B5305D #5DB530 #305DB5
tetradic
#B5305D #A0B530 #30B588 #4530B5
square
#B5305D #A0B530 #30B588 #4530B5
split-complementary
#B5305D #30B545 #30A0B5
monochromatic
#54162B #852344 #B5305D #D1517C #DE82A1

Accessibility & contrast

On white

5.92
#B5305D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B5305D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5305D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5305D#FFFFFF#000000##FFFFFF
##B5305D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#736E5A
Tritanopia (blue-blind)
#C51543
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5305d;
/* rgb */ color: rgb(181, 48, 93);
/* oklch */ color: oklch(52.5% 0.171 5.0);
Tailwind
colors: {
  custom: {
    50: '#d1738a',
    500: '#b5305d',
    950: '#000000',
  },
}
SCSS
$custom: #b5305d;
$custom-light: #d1738a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305d",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 339.699,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.17147,
    "h": 5
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#B5305D
secondary
#7AC7AD
accent
#E1AD46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5305D

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

Preview Lab → · Contrast checker → · Palette generator →

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