#9A2072#9A2072

#9A2072 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 344.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9A2072
RGBrgb(154, 32, 114)
HSLhsl(320, 66%, 36%)
HSVhsv(320, 79%, 60%)
CMYKcmyk(0%, 79.2%, 26%, 39.6%)
CIE-LABlab(36.21, 55.99, -17.22)
CIE-LCHlch(36.21, 58.58, 342.91°)
OKLaboklab(47.35% 0.1698 -0.0459)
OKLCHoklch(47.35% 0.176 344.9)
XYZxyz(16.8809, 9.1198, 16.7876)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2072 #209A48
analogous
#85209A #9A2072 #9A2035
triadic
#9A2072 #729A20 #20729A
tetradic
#9A2072 #9A8520 #209A48 #20359A
square
#9A2072 #9A8520 #209A48 #20359A
split-complementary
#9A2072 #359A20 #209A85
monochromatic
#350B27 #67154C #9A2072 #CD2B98 #DC58B1

Accessibility & contrast

On white

7.44
#9A2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A2072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2072
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2072#FFFFFF#000000##FFFFFF
##9A20721.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#565C6F
Tritanopia (blue-blind)
#A51E47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a2072;
/* rgb */ color: rgb(154, 32, 114);
/* oklch */ color: oklch(47.3% 0.176 344.9);
Tailwind
colors: {
  custom: {
    50: '#bc6a9a',
    500: '#9a2072',
    950: '#000000',
  },
}
SCSS
$custom: #9a2072;
$custom-light: #bc6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2072",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 319.672,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.17586,
    "h": 344.9
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#9A2072
secondary
#56C079
accent
#E9773F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2072

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

Preview Lab → · Contrast checker → · Palette generator →

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