#9A1D79#9A1D79

#9A1D79 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.183 H 341.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9A1D79
RGBrgb(154, 29, 121)
HSLhsl(316, 68%, 36%)
HSVhsv(316, 81%, 60%)
CMYKcmyk(0%, 81.2%, 21.4%, 39.6%)
CIE-LABlab(36.24, 57.76, -21.59)
CIE-LCHlch(36.24, 61.66, 339.51°)
OKLaboklab(47.47% 0.1735 -0.0581)
OKLCHoklch(47.47% 0.183 341.5)
XYZxyz(17.2176, 9.1310, 18.9412)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D79 #1D9A3E
analogous
#7C1D9A #9A1D79 #9A1D3A
triadic
#9A1D79 #799A1D #1D799A
tetradic
#9A1D79 #9A7C1D #1D9A3E #1D3A9A
square
#9A1D79 #9A7C1D #1D9A3E #1D3A9A
split-complementary
#9A1D79 #3A9A1D #1D9A7C
monochromatic
#330A28 #661351 #9A1D79 #CE27A1 #DF53BA

Accessibility & contrast

On white

7.43
#9A1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D79
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D79#FFFFFF#000000##FFFFFF
##9A1D791.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#A4204A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d79;
/* rgb */ color: rgb(154, 29, 121);
/* oklch */ color: oklch(47.5% 0.183 341.5);
Tailwind
colors: {
  custom: {
    50: '#bc69a0',
    500: '#9a1d79',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d79;
$custom-light: #bc69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d79",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 315.84,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.18301,
    "h": 341.5
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#9A1D79
secondary
#51C26F
accent
#EB6B3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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