#9A2F79#9A2F79

#9A2F79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 342.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A2F79
RGBrgb(154, 47, 121)
HSLhsl(319, 53%, 39%)
HSVhsv(319, 69%, 60%)
CMYKcmyk(0%, 69.5%, 21.4%, 39.6%)
CIE-LABlab(38.35, 51.77, -18.32)
CIE-LCHlch(38.35, 54.92, 340.52°)
OKLaboklab(49% 0.1552 -0.0491)
OKLCHoklch(49% 0.163 342.5)
XYZxyz(17.7947, 10.2853, 19.1336)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F79 #2F9A50
analogous
#862F9A #9A2F79 #9A2F43
triadic
#9A2F79 #799A2F #2F799A
tetradic
#9A2F79 #9A862F #2F9A50 #2F439A
square
#9A2F79 #9A862F #2F9A50 #2F439A
split-complementary
#9A2F79 #439A2F #2F9A86
monochromatic
#3C122F #6B2154 #9A2F79 #C5419C #D370B5

Accessibility & contrast

On white

6.87
#9A2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F79
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F79#FFFFFF#000000##FFFFFF
##9A2F791.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A43050
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f79;
/* rgb */ color: rgb(154, 47, 121);
/* oklch */ color: oklch(49.0% 0.163 342.5);
Tailwind
colors: {
  custom: {
    50: '#bb70a0',
    500: '#9a2f79',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f79;
$custom-light: #bb70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f79",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 318.505,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49,
    "c": 0.1628,
    "h": 342.5
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#9A2F79
secondary
#6ABB83
accent
#DD784B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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