#B5305C#B5305C

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

Color values

HEX#B5305C
RGBrgb(181, 48, 92)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.5%, 49.2%, 29%)
CIE-LABlab(42.33, 55.80, 6.26)
CIE-LCHlch(42.33, 56.15, 6.40°)
OKLaboklab(52.5% 0.1704 0.0165)
OKLCHoklch(52.5% 0.171 5.5)
XYZxyz(22.0466, 12.7133, 11.4161)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305C #30B589
analogous
#B5309F #B5305C #B54630
triadic
#B5305C #5CB530 #305CB5
tetradic
#B5305C #9FB530 #30B589 #4630B5
square
#B5305C #9FB530 #30B589 #4630B5
split-complementary
#B5305C #30B546 #309FB5
monochromatic
#54162B #852343 #B5305C #D1517C #DE82A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5305C#FFFFFF#000000##FFFFFF
##B5305C1.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)
#50535D
Deuteranopia (green-blind)
#736D59
Tritanopia (blue-blind)
#C51442
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5305c;
/* rgb */ color: rgb(181, 48, 92);
/* oklch */ color: oklch(52.5% 0.171 5.5);
Tailwind
colors: {
  custom: {
    50: '#d17389',
    500: '#b5305c',
    950: '#000000',
  },
}
SCSS
$custom: #b5305c;
$custom-light: #d17389;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305c",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 340.15,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.17123,
    "h": 5.5
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5305C

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

Preview Lab → · Contrast checker → · Palette generator →

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