#B5317D#B5317D

#B5317D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.183 H 349.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B5317D
RGBrgb(181, 49, 125)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 72.9%, 30.9%, 29%)
CIE-LABlab(43.51, 58.88, -12.48)
CIE-LCHlch(43.51, 60.19, 348.03°)
OKLaboklab(53.72% 0.1797 -0.0326)
OKLCHoklch(53.72% 0.183 349.7)
XYZxyz(23.8573, 13.5038, 20.7482)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5317D #31B569
analogous
#AB31B5 #B5317D #B5313B
triadic
#B5317D #7DB531 #317DB5
tetradic
#B5317D #B5AB31 #31B569 #313BB5
square
#B5317D #B5AB31 #31B569 #313BB5
split-complementary
#B5317D #3BB531 #31B5AB
monochromatic
#55173A #85245C #B5317D #D0539B #DD83B7

Accessibility & contrast

On white

5.68
#B5317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B5317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5317D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5317D#FFFFFF#000000##FFFFFF
##B5317D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#6C6F7A
Tritanopia (blue-blind)
#C22953
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5317d;
/* rgb */ color: rgb(181, 49, 125);
/* oklch */ color: oklch(53.7% 0.183 349.7);
Tailwind
colors: {
  custom: {
    50: '#d075a2',
    500: '#b5317d',
    950: '#000000',
  },
}
SCSS
$custom: #b5317d;
$custom-light: #d075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5317d",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 325.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.18267,
    "h": 349.7
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#B5317D
secondary
#7BC79B
accent
#E18847
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5317D

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

Preview Lab → · Contrast checker → · Palette generator →

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