#B548A2#B548A2

#B548A2 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.176 H 335.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B548A2
RGBrgb(181, 72, 162)
HSLhsl(310, 43%, 50%)
HSVhsv(310, 60%, 71%)
CMYKcmyk(0%, 60.2%, 10.5%, 29%)
CIE-LABlab(48.35, 54.92, -27.35)
CIE-LCHlch(48.35, 61.35, 333.52°)
OKLaboklab(57.76% 0.1595 -0.0744)
OKLCHoklch(57.76% 0.176 335)
XYZxyz(27.8952, 17.0693, 36.0009)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548A2 #48B55B
analogous
#9248B5 #B548A2 #B5486B
triadic
#B548A2 #A2B548 #48A2B5
tetradic
#B548A2 #B59248 #48B55B #486BB5
square
#B548A2 #B59248 #48B55B #486BB5
split-complementary
#B548A2 #6BB548 #48B592
monochromatic
#5D2554 #89377B #B548A2 #C773B9 #D99FCF

Accessibility & contrast

On white

4.76
#B548A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B548A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B548A2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548A2#FFFFFF#000000##FFFFFF
##B548A21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#6A799F
Tritanopia (blue-blind)
#BD4F6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b548a2;
/* rgb */ color: rgb(181, 72, 162);
/* oklch */ color: oklch(57.8% 0.176 335.0);
Tailwind
colors: {
  custom: {
    50: '#ce81be',
    500: '#b548a2',
    950: '#000000',
  },
}
SCSS
$custom: #b548a2;
$custom-light: #ce81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b548a2",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 310.459,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.17598,
    "h": 335
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#B548A2
secondary
#93C59C
accent
#D36B55
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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