#9A2074#9A2074

#9A2074 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 343.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9A2074
RGBrgb(154, 32, 116)
HSLhsl(319, 66%, 36%)
HSVhsv(319, 79%, 60%)
CMYKcmyk(0%, 79.2%, 24.7%, 39.6%)
CIE-LABlab(36.30, 56.25, -18.34)
CIE-LCHlch(36.30, 59.17, 341.94°)
OKLaboklab(47.44% 0.1701 -0.049)
OKLCHoklch(47.44% 0.177 343.9)
XYZxyz(16.9960, 9.1659, 17.3937)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2074 #209A46
analogous
#83209A #9A2074 #9A2037
triadic
#9A2074 #749A20 #20749A
tetradic
#9A2074 #9A8320 #209A46 #20379A
square
#9A2074 #9A8320 #209A46 #20379A
split-complementary
#9A2074 #379A20 #209A83
monochromatic
#350B28 #67154E #9A2074 #CD2B9A #DC58B3

Accessibility & contrast

On white

7.41
#9A2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9A2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2074
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2074#FFFFFF#000000##FFFFFF
##9A20741.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#555D71
Tritanopia (blue-blind)
#A41F48
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a2074;
/* rgb */ color: rgb(154, 32, 116);
/* oklch */ color: oklch(47.4% 0.177 343.9);
Tailwind
colors: {
  custom: {
    50: '#bc6a9c',
    500: '#9a2074',
    950: '#000000',
  },
}
SCSS
$custom: #9a2074;
$custom-light: #bc6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2074",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 318.689,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.17706,
    "h": 343.9
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#9A2074
secondary
#56C077
accent
#E9743F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2074

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

Preview Lab → · Contrast checker → · Palette generator →

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