#9A1D83#9A1D83

#9A1D83 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 337.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9A1D83
RGBrgb(154, 29, 131)
HSLhsl(311, 68%, 36%)
HSVhsv(311, 81%, 60%)
CMYKcmyk(0%, 81.2%, 14.9%, 39.6%)
CIE-LABlab(36.72, 59.15, -27.06)
CIE-LCHlch(36.72, 65.04, 335.42°)
OKLaboklab(47.98% 0.1746 -0.0737)
OKLCHoklch(47.98% 0.19 337.1)
XYZxyz(17.8629, 9.3892, 22.3399)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D83 #1D9A34
analogous
#721D9A #9A1D83 #9A1D44
triadic
#9A1D83 #839A1D #1D839A
tetradic
#9A1D83 #9A721D #1D9A34 #1D449A
square
#9A1D83 #9A721D #1D9A34 #1D449A
split-complementary
#9A1D83 #449A1D #1D9A72
monochromatic
#330A2B #661357 #9A1D83 #CE27AF #DF53C5

Accessibility & contrast

On white

7.30
#9A1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9A1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D83
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D83#FFFFFF#000000##FFFFFF
##9A1D831.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A3264F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1d83;
/* rgb */ color: rgb(154, 29, 131);
/* oklch */ color: oklch(48.0% 0.190 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc69a7',
    500: '#9a1d83',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d83;
$custom-light: #bc69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d83",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 311.04,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.18955,
    "h": 337.1
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#9A1D83
secondary
#51C266
accent
#EB5D3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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