#9A1C83#9A1C83

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

Color values

HEX#9A1C83
RGBrgb(154, 28, 131)
HSLhsl(311, 69%, 36%)
HSVhsv(311, 82%, 60%)
CMYKcmyk(0%, 81.8%, 14.9%, 39.6%)
CIE-LABlab(36.63, 59.41, -27.20)
CIE-LCHlch(36.63, 65.34, 335.40°)
OKLaboklab(47.91% 0.1754 -0.0741)
OKLCHoklch(47.91% 0.19 337.1)
XYZxyz(17.8388, 9.3410, 22.3318)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C83 #1C9A33
analogous
#721C9A #9A1C83 #9A1C44
triadic
#9A1C83 #839A1C #1C839A
tetradic
#9A1C83 #9A721C #1C9A33 #1C449A
square
#9A1C83 #9A721C #1C9A33 #1C449A
split-complementary
#9A1C83 #449A1C #1C9A72
monochromatic
#32092B #661357 #9A1C83 #CE25AF #DF51C5

Accessibility & contrast

On white

7.32
#9A1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C83
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C83#FFFFFF#000000##FFFFFF
##9A1C831.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1c83;
/* rgb */ color: rgb(154, 28, 131);
/* oklch */ color: oklch(47.9% 0.190 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc69a7',
    500: '#9a1c83',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c83;
$custom-light: #bc69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c83",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 310.952,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.19042,
    "h": 337.1
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#9A1C83
secondary
#50C265
accent
#EC5C3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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