#9A2F72#9A2F72

#9A2F72 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.158 H 346.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A2F72
RGBrgb(154, 47, 114)
HSLhsl(322, 53%, 39%)
HSVhsv(322, 69%, 60%)
CMYKcmyk(0%, 69.5%, 26%, 39.6%)
CIE-LABlab(38.06, 50.80, -14.40)
CIE-LCHlch(38.06, 52.80, 344.18°)
OKLaboklab(48.69% 0.1537 -0.0381)
OKLCHoklch(48.69% 0.158 346.1)
XYZxyz(17.3809, 10.1198, 16.9543)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F72 #2F9A57
analogous
#8D2F9A #9A2F72 #9A2F3D
triadic
#9A2F72 #729A2F #2F729A
tetradic
#9A2F72 #9A8D2F #2F9A57 #2F3D9A
square
#9A2F72 #9A8D2F #2F9A57 #2F3D9A
split-complementary
#9A2F72 #3D9A2F #2F9A8D
monochromatic
#3C122D #6B214F #9A2F72 #C54194 #D370AE

Accessibility & contrast

On white

6.95
#9A2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F72
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F72#FFFFFF#000000##FFFFFF
##9A2F721.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A42D4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f72;
/* rgb */ color: rgb(154, 47, 114);
/* oklch */ color: oklch(48.7% 0.158 346.1);
Tailwind
colors: {
  custom: {
    50: '#bb709a',
    500: '#9a2f72',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f72;
$custom-light: #bb709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f72",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 322.43,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.15837,
    "h": 346.1
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#9A2F72
secondary
#6ABB88
accent
#DD824B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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