#B5459E#B5459E

#B5459E is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.2% C 0.177 H 336.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B5459E
RGBrgb(181, 69, 158)
HSLhsl(312, 45%, 49%)
HSVhsv(312, 62%, 71%)
CMYKcmyk(0%, 61.9%, 12.7%, 29%)
CIE-LABlab(47.69, 55.60, -26.00)
CIE-LCHlch(47.69, 61.38, 334.94°)
OKLaboklab(57.22% 0.1627 -0.0705)
OKLCHoklch(57.22% 0.177 336.6)
XYZxyz(27.3561, 16.5509, 34.0950)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5459E #45B55C
analogous
#9445B5 #B5459E #B54566
triadic
#B5459E #9EB545 #459EB5
tetradic
#B5459E #B59445 #45B55C #4566B5
square
#B5459E #B59445 #45B55C #4566B5
split-complementary
#B5459E #66B545 #45B594
monochromatic
#5C2351 #893477 #B5459E #C86FB6 #D99BCC

Accessibility & contrast

On white

4.87
#B5459E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B5459E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5459E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5459E#FFFFFF#000000##FFFFFF
##B5459E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A1
Deuteranopia (green-blind)
#6A779B
Tritanopia (blue-blind)
#BE4B6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b5459e;
/* rgb */ color: rgb(181, 69, 158);
/* oklch */ color: oklch(57.2% 0.177 336.6);
Tailwind
colors: {
  custom: {
    50: '#ce80bb',
    500: '#b5459e',
    950: '#000000',
  },
}
SCSS
$custom: #b5459e;
$custom-light: #ce80bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5459e",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 312.321,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.17733,
    "h": 336.6
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#B5459E
secondary
#91C59B
accent
#D56E53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B5459E

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

Preview Lab → · Contrast checker → · Palette generator →

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