#B5325D#B5325D

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

Color values

HEX#B5325D
RGBrgb(181, 50, 93)
HSLhsl(340, 57%, 45%)
HSVhsv(340, 72%, 71%)
CMYKcmyk(0%, 72.4%, 48.6%, 29%)
CIE-LABlab(42.61, 55.18, 6.03)
CIE-LCHlch(42.61, 55.51, 6.24°)
OKLaboklab(52.72% 0.1685 0.0159)
OKLCHoklch(52.72% 0.169 5.4)
XYZxyz(22.1743, 12.8982, 11.6757)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5325D #32B58A
analogous
#B5329F #B5325D #B54832
triadic
#B5325D #5DB532 #325DB5
tetradic
#B5325D #9FB532 #32B58A #4832B5
square
#B5325D #9FB532 #32B58A #4832B5
split-complementary
#B5325D #32B548 #329FB5
monochromatic
#55182C #852544 #B5325D #D0547D #DD84A1

Accessibility & contrast

On white

5.87
#B5325D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5325D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5325D#FFFFFF#000000##FFFFFF
##B5325D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545E
Deuteranopia (green-blind)
#736E5A
Tritanopia (blue-blind)
#C51944
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5325d;
/* rgb */ color: rgb(181, 50, 93);
/* oklch */ color: oklch(52.7% 0.169 5.4);
Tailwind
colors: {
  custom: {
    50: '#d1748a',
    500: '#b5325d',
    950: '#000000',
  },
}
SCSS
$custom: #b5325d;
$custom-light: #d1748a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5325d",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 93
  },
  "hsl": {
    "h": 340.305,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.16928,
    "h": 5.4
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#B5325D
secondary
#7CC7AE
accent
#E0AE48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5325D

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

Preview Lab → · Contrast checker → · Palette generator →

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