#B545A2#B545A2

#B545A2 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.4% C 0.180 H 334.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B545A2
RGBrgb(181, 69, 162)
HSLhsl(310, 45%, 49%)
HSVhsv(310, 62%, 71%)
CMYKcmyk(0%, 61.9%, 10.5%, 29%)
CIE-LABlab(47.87, 56.23, -28.10)
CIE-LCHlch(47.87, 62.86, 333.45°)
OKLaboklab(57.41% 0.1633 -0.0765)
OKLCHoklch(57.41% 0.18 334.9)
XYZxyz(27.7060, 16.6908, 35.9378)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A2 #45B558
analogous
#9045B5 #B545A2 #B5456A
triadic
#B545A2 #A2B545 #45A2B5
tetradic
#B545A2 #B59045 #45B558 #456AB5
square
#B545A2 #B59045 #45B558 #456AB5
split-complementary
#B545A2 #6AB545 #45B590
monochromatic
#5C2353 #89347A #B545A2 #C86FB9 #D99BCF

Accessibility & contrast

On white

4.84
#B545A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B545A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A2#FFFFFF#000000##FFFFFF
##B545A21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#BD4C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a2;
/* rgb */ color: rgb(181, 69, 162);
/* oklch */ color: oklch(57.4% 0.180 334.9);
Tailwind
colors: {
  custom: {
    50: '#ce80be',
    500: '#b545a2',
    950: '#000000',
  },
}
SCSS
$custom: #b545a2;
$custom-light: #ce80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a2",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 310.179,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.18035,
    "h": 334.9
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#B545A2
secondary
#91C599
accent
#D56953
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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