#B5305E#B5305E

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

Color values

HEX#B5305E
RGBrgb(181, 48, 94)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 73.5%, 48.1%, 29%)
CIE-LABlab(42.38, 55.97, 5.08)
CIE-LCHlch(42.38, 56.21, 5.19°)
OKLaboklab(52.56% 0.1712 0.0136)
OKLCHoklch(52.56% 0.172 4.5)
XYZxyz(22.1352, 12.7488, 11.8827)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305E #30B587
analogous
#B530A1 #B5305E #B54430
triadic
#B5305E #5EB530 #305EB5
tetradic
#B5305E #A1B530 #30B587 #4430B5
square
#B5305E #A1B530 #30B587 #4430B5
split-complementary
#B5305E #30B544 #30A1B5
monochromatic
#54162C #852345 #B5305E #D1517D #DE82A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5305E#FFFFFF#000000##FFFFFF
##B5305E1.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)
#4F535F
Deuteranopia (green-blind)
#726E5B
Tritanopia (blue-blind)
#C51643
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5305e;
/* rgb */ color: rgb(181, 48, 94);
/* oklch */ color: oklch(52.6% 0.172 4.5);
Tailwind
colors: {
  custom: {
    50: '#d1738b',
    500: '#b5305e',
    950: '#000000',
  },
}
SCSS
$custom: #b5305e;
$custom-light: #d1738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305e",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 339.248,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.17171,
    "h": 4.5
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#B5305E
secondary
#7AC7AC
accent
#E1AC46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B5305E

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

Preview Lab → · Contrast checker → · Palette generator →

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