#9A548E#9A548E

#9A548E is a mid, moderate pink. Relative luminance 0.152; OKLCH L 54.8% C 0.120 H 333.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9A548E
RGBrgb(154, 84, 142)
HSLhsl(310, 29%, 47%)
HSVhsv(310, 45%, 60%)
CMYKcmyk(0%, 45.5%, 7.8%, 39.6%)
CIE-LABlab(45.86, 37.45, -19.59)
CIE-LCHlch(45.86, 42.26, 332.38°)
OKLaboklab(54.84% 0.1074 -0.053)
OKLCHoklch(54.84% 0.12 333.7)
XYZxyz(21.3792, 15.1649, 27.3870)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A548E #549A60
analogous
#83549A #9A548E #9A546B
triadic
#9A548E #8E9A54 #548E9A
tetradic
#9A548E #9A8354 #549A60 #546B9A
square
#9A548E #9A8354 #549A60 #546B9A
split-complementary
#9A548E #6B9A54 #549A83
monochromatic
#4B2945 #723E69 #9A548E #B577AA #CA9EC3

Accessibility & contrast

On white

5.21
#9A548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9A548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A548E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A548E#FFFFFF#000000##FFFFFF
##9A548E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#A0586A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a548e;
/* rgb */ color: rgb(154, 84, 142);
/* oklch */ color: oklch(54.8% 0.120 333.7);
Tailwind
colors: {
  custom: {
    50: '#b986af',
    500: '#9a548e',
    950: '#000000',
  },
}
SCSS
$custom: #9a548e;
$custom-light: #b986af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a548e",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 310.286,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.11978,
    "h": 333.7
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#9A548E
secondary
#92B799
accent
#C67362
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A548E

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

Preview Lab → · Contrast checker → · Palette generator →

#9A548E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva