#9A2C74#9A2C74

#9A2C74 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.163 H 344.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9A2C74
RGBrgb(154, 44, 116)
HSLhsl(321, 56%, 39%)
HSVhsv(321, 71%, 60%)
CMYKcmyk(0%, 71.4%, 24.7%, 39.6%)
CIE-LABlab(37.72, 52.23, -16.16)
CIE-LCHlch(37.72, 54.67, 342.81°)
OKLaboklab(48.47% 0.1577 -0.043)
OKLCHoklch(48.47% 0.163 344.8)
XYZxyz(17.3802, 9.9341, 17.5218)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C74 #2C9A52
analogous
#892C9A #9A2C74 #9A2C3D
triadic
#9A2C74 #749A2C #2C749A
tetradic
#9A2C74 #9A892C #2C9A52 #2C3D9A
square
#9A2C74 #9A892C #2C9A52 #2C3D9A
split-complementary
#9A2C74 #3D9A2C #2C9A89
monochromatic
#3B112C #6A1E50 #9A2C74 #C73C97 #D56CB0

Accessibility & contrast

On white

7.03
#9A2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2C74
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C74#FFFFFF#000000##FFFFFF
##9A2C741.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#596071
Tritanopia (blue-blind)
#A42B4C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2c74;
/* rgb */ color: rgb(154, 44, 116);
/* oklch */ color: oklch(48.5% 0.163 344.8);
Tailwind
colors: {
  custom: {
    50: '#bb6f9c',
    500: '#9a2c74',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c74;
$custom-light: #bb6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c74",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 320.727,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.16348,
    "h": 344.8
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#9A2C74
secondary
#66BC84
accent
#DF7D49
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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