#9A2F82#9A2F82

#9A2F82 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.169 H 338.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9A2F82
RGBrgb(154, 47, 130)
HSLhsl(313, 53%, 39%)
HSVhsv(313, 69%, 60%)
CMYKcmyk(0%, 69.5%, 15.6%, 39.6%)
CIE-LABlab(38.75, 53.09, -23.27)
CIE-LCHlch(38.75, 57.97, 336.33°)
OKLaboklab(49.43% 0.1568 -0.063)
OKLCHoklch(49.43% 0.169 338.1)
XYZxyz(18.3726, 10.5164, 22.1770)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F82 #2F9A47
analogous
#7D2F9A #9A2F82 #9A2F4D
triadic
#9A2F82 #829A2F #2F829A
tetradic
#9A2F82 #9A7D2F #2F9A47 #2F4D9A
square
#9A2F82 #9A7D2F #2F9A47 #2F4D9A
split-complementary
#9A2F82 #4D9A2F #2F9A7D
monochromatic
#3C1233 #6B215A #9A2F82 #C541A7 #D370BD

Accessibility & contrast

On white

6.77
#9A2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F82
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F82#FFFFFF#000000##FFFFFF
##9A2F821.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A23454
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2f82;
/* rgb */ color: rgb(154, 47, 130);
/* oklch */ color: oklch(49.4% 0.169 338.1);
Tailwind
colors: {
  custom: {
    50: '#bb71a6',
    500: '#9a2f82',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f82;
$custom-light: #bb71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f82",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 313.458,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.16901,
    "h": 338.1
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#9A2F82
secondary
#6ABB7C
accent
#DD6C4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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