#B5305F#B5305F

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

Color values

HEX#B5305F
RGBrgb(181, 48, 95)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 73.5%, 47.5%, 29%)
CIE-LABlab(42.41, 56.07, 4.50)
CIE-LCHlch(42.41, 56.25, 4.59°)
OKLaboklab(52.59% 0.1715 0.0121)
OKLCHoklch(52.59% 0.172 4)
XYZxyz(22.1804, 12.7668, 12.1205)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5305F #30B586
analogous
#B530A2 #B5305F #B54330
triadic
#B5305F #5FB530 #305FB5
tetradic
#B5305F #A2B530 #30B586 #4330B5
square
#B5305F #A2B530 #30B586 #4330B5
split-complementary
#B5305F #30B543 #30A2B5
monochromatic
#54162C #852346 #B5305F #D1517E #DE82A2

Accessibility & contrast

On white

5.91
#B5305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5305F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5305F#FFFFFF#000000##FFFFFF
##B5305F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#726E5C
Tritanopia (blue-blind)
#C51644
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5305f;
/* rgb */ color: rgb(181, 48, 95);
/* oklch */ color: oklch(52.6% 0.172 4.0);
Tailwind
colors: {
  custom: {
    50: '#d1738c',
    500: '#b5305f',
    950: '#000000',
  },
}
SCSS
$custom: #b5305f;
$custom-light: #d1738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5305f",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 338.797,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.17196,
    "h": 4
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5305F

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

Preview Lab → · Contrast checker → · Palette generator →

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