#9A1E7D#9A1E7D

#9A1E7D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 339.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9A1E7D
RGBrgb(154, 30, 125)
HSLhsl(314, 67%, 36%)
HSVhsv(314, 81%, 60%)
CMYKcmyk(0%, 80.5%, 18.8%, 39.6%)
CIE-LABlab(36.52, 58.03, -23.64)
CIE-LCHlch(36.52, 62.66, 337.83°)
OKLaboklab(47.73% 0.1732 -0.064)
OKLCHoklch(47.73% 0.185 339.7)
XYZxyz(17.4929, 9.2810, 20.2682)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E7D #1E9A3B
analogous
#791E9A #9A1E7D #9A1E3F
triadic
#9A1E7D #7D9A1E #1E7D9A
tetradic
#9A1E7D #9A791E #1E9A3B #1E3F9A
square
#9A1E7D #9A791E #1E9A3B #1E3F9A
split-complementary
#9A1E7D #3F9A1E #1E9A79
monochromatic
#340A2A #671453 #9A1E7D #CD28A7 #DE55BE

Accessibility & contrast

On white

7.35
#9A1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E7D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E7D#FFFFFF#000000##FFFFFF
##9A1E7D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A3234C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1e7d;
/* rgb */ color: rgb(154, 30, 125);
/* oklch */ color: oklch(47.7% 0.185 339.7);
Tailwind
colors: {
  custom: {
    50: '#bc69a3',
    500: '#9a1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e7d;
$custom-light: #bc69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e7d",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 314.032,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.18465,
    "h": 339.7
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#9A1E7D
secondary
#53C16C
accent
#EA663E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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