#B5325E#B5325E

#B5325E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.170 H 4.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B5325E
RGBrgb(181, 50, 94)
HSLhsl(340, 57%, 45%)
HSVhsv(340, 72%, 71%)
CMYKcmyk(0%, 72.4%, 48.1%, 29%)
CIE-LABlab(42.64, 55.27, 5.45)
CIE-LCHlch(42.64, 55.53, 5.63°)
OKLaboklab(52.75% 0.1689 0.0145)
OKLCHoklch(52.75% 0.17 4.9)
XYZxyz(22.2189, 12.9160, 11.9105)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5325E #32B589
analogous
#B532A0 #B5325E #B54732
triadic
#B5325E #5EB532 #325EB5
tetradic
#B5325E #A0B532 #32B589 #4732B5
square
#B5325E #A0B532 #32B589 #4732B5
split-complementary
#B5325E #32B547 #32A0B5
monochromatic
#55182C #852545 #B5325E #D0547E #DD84A2

Accessibility & contrast

On white

5.86
#B5325E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B5325E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5325E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5325E#FFFFFF#000000##FFFFFF
##B5325E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C51944
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5325e;
/* rgb */ color: rgb(181, 50, 94);
/* oklch */ color: oklch(52.7% 0.170 4.9);
Tailwind
colors: {
  custom: {
    50: '#d1748b',
    500: '#b5325e',
    950: '#000000',
  },
}
SCSS
$custom: #b5325e;
$custom-light: #d1748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5325e",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 339.847,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.16952,
    "h": 4.9
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#B5325E
secondary
#7CC7AE
accent
#E0AD48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B5325E

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

Preview Lab → · Contrast checker → · Palette generator →

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