#9A2F77#9A2F77

#9A2F77 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.162 H 343.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9A2F77
RGBrgb(154, 47, 119)
HSLhsl(320, 53%, 39%)
HSVhsv(320, 69%, 60%)
CMYKcmyk(0%, 69.5%, 22.7%, 39.6%)
CIE-LABlab(38.26, 51.49, -17.20)
CIE-LCHlch(38.26, 54.29, 341.52°)
OKLaboklab(48.91% 0.1548 -0.0459)
OKLCHoklch(48.91% 0.162 343.5)
XYZxyz(17.6733, 10.2367, 18.4943)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F77 #2F9A52
analogous
#882F9A #9A2F77 #9A2F42
triadic
#9A2F77 #779A2F #2F779A
tetradic
#9A2F77 #9A882F #2F9A52 #2F429A
square
#9A2F77 #9A882F #2F9A52 #2F429A
split-complementary
#9A2F77 #429A2F #2F9A88
monochromatic
#3C122F #6B2153 #9A2F77 #C5419A #D370B3

Accessibility & contrast

On white

6.89
#9A2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F77
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F77#FFFFFF#000000##FFFFFF
##9A2F771.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#A42F4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f77;
/* rgb */ color: rgb(154, 47, 119);
/* oklch */ color: oklch(48.9% 0.162 343.5);
Tailwind
colors: {
  custom: {
    50: '#bb709e',
    500: '#9a2f77',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f77;
$custom-light: #bb709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f77",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 319.626,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.1615,
    "h": 343.5
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#9A2F77
secondary
#6ABB84
accent
#DD7B4B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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