#B5498E#B5498E

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

Color values

HEX#B5498E
RGBrgb(181, 73, 142)
HSLhsl(322, 43%, 50%)
HSVhsv(322, 60%, 71%)
CMYKcmyk(0%, 59.7%, 21.5%, 29%)
CIE-LABlab(47.68, 51.42, -16.46)
CIE-LCHlch(47.68, 53.99, 342.25°)
OKLaboklab(56.99% 0.1541 -0.0438)
OKLCHoklch(56.99% 0.16 344.1)
XYZxyz(26.3218, 16.5442, 27.3930)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5498E #49B570
analogous
#A649B5 #B5498E #B54958
triadic
#B5498E #8EB549 #498EB5
tetradic
#B5498E #B5A649 #49B570 #4958B5
square
#B5498E #B5A649 #49B570 #4958B5
split-complementary
#B5498E #58B549 #49B5A6
monochromatic
#5E264A #89376C #B5498E #C774A9 #D9A0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5498E#FFFFFF#000000##FFFFFF
##B5498E1.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)
#526690
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#C04865
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b5498e;
/* rgb */ color: rgb(181, 73, 142);
/* oklch */ color: oklch(57.0% 0.160 344.1);
Tailwind
colors: {
  custom: {
    50: '#ce81af',
    500: '#b5498e',
    950: '#000000',
  },
}
SCSS
$custom: #b5498e;
$custom-light: #ce81af;
$custom-dark: #000000;
JSON
{
  "hex": "#b5498e",
  "rgb": {
    "r": 181,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 321.667,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.16015,
    "h": 344.1
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#B5498E
secondary
#94C5A6
accent
#D28355
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B5498E

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

Preview Lab → · Contrast checker → · Palette generator →

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