#9A2F74#9A2F74

#9A2F74 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.160 H 345.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9A2F74
RGBrgb(154, 47, 116)
HSLhsl(321, 53%, 39%)
HSVhsv(321, 69%, 60%)
CMYKcmyk(0%, 69.5%, 24.7%, 39.6%)
CIE-LABlab(38.14, 51.07, -15.52)
CIE-LCHlch(38.14, 53.38, 343.09°)
OKLaboklab(48.78% 0.1542 -0.0412)
OKLCHoklch(48.78% 0.16 345)
XYZxyz(17.4960, 10.1658, 17.5604)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F74 #2F9A55
analogous
#8B2F9A #9A2F74 #9A2F3F
triadic
#9A2F74 #749A2F #2F749A
tetradic
#9A2F74 #9A8B2F #2F9A55 #2F3F9A
square
#9A2F74 #9A8B2F #2F9A55 #2F3F9A
split-complementary
#9A2F74 #3F9A2F #2F9A8B
monochromatic
#3C122D #6B2151 #9A2F74 #C54196 #D370B0

Accessibility & contrast

On white

6.92
#9A2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F74
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F74#FFFFFF#000000##FFFFFF
##9A2F741.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#5A6071
Tritanopia (blue-blind)
#A42E4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f74;
/* rgb */ color: rgb(154, 47, 116);
/* oklch */ color: oklch(48.8% 0.160 345.0);
Tailwind
colors: {
  custom: {
    50: '#bb709c',
    500: '#9a2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f74;
$custom-light: #bb709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f74",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 321.308,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.15959,
    "h": 345
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#9A2F74
secondary
#6ABB87
accent
#DD7F4B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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