#B545A0#B545A0

#B545A0 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.3% C 0.179 H 335.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B545A0
RGBrgb(181, 69, 160)
HSLhsl(311, 45%, 49%)
HSVhsv(311, 62%, 71%)
CMYKcmyk(0%, 61.9%, 11.6%, 29%)
CIE-LABlab(47.78, 55.91, -27.05)
CIE-LCHlch(47.78, 62.11, 334.18°)
OKLaboklab(57.31% 0.163 -0.0735)
OKLCHoklch(57.31% 0.179 335.7)
XYZxyz(27.5296, 16.6203, 35.0090)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A0 #45B55A
analogous
#9245B5 #B545A0 #B54568
triadic
#B545A0 #A0B545 #45A0B5
tetradic
#B545A0 #B59245 #45B55A #4568B5
square
#B545A0 #B59245 #45B55A #4568B5
split-complementary
#B545A0 #68B545 #45B592
monochromatic
#5C2352 #893479 #B545A0 #C86FB7 #D99BCD

Accessibility & contrast

On white

4.86
#B545A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B545A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A0#FFFFFF#000000##FFFFFF
##B545A01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A3
Deuteranopia (green-blind)
#69779D
Tritanopia (blue-blind)
#BE4B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b545a0;
/* rgb */ color: rgb(181, 69, 160);
/* oklch */ color: oklch(57.3% 0.179 335.7);
Tailwind
colors: {
  custom: {
    50: '#ce80bc',
    500: '#b545a0',
    950: '#000000',
  },
}
SCSS
$custom: #b545a0;
$custom-light: #ce80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a0",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 311.25,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.17882,
    "h": 335.7
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#B545A0
secondary
#91C59A
accent
#D56C53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A0

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

Preview Lab → · Contrast checker → · Palette generator →

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