#9A1F83#9A1F83

#9A1F83 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 337.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9A1F83
RGBrgb(154, 31, 131)
HSLhsl(311, 66%, 36%)
HSVhsv(311, 80%, 60%)
CMYKcmyk(0%, 79.9%, 14.9%, 39.6%)
CIE-LABlab(36.91, 58.60, -26.76)
CIE-LCHlch(36.91, 64.42, 335.45°)
OKLaboklab(48.11% 0.173 -0.0729)
OKLCHoklch(48.11% 0.188 337.2)
XYZxyz(17.9135, 9.4904, 22.3567)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F83 #1F9A36
analogous
#741F9A #9A1F83 #9A1F46
triadic
#9A1F83 #839A1F #1F839A
tetradic
#9A1F83 #9A741F #1F9A36 #1F469A
square
#9A1F83 #9A741F #1F9A36 #1F469A
split-complementary
#9A1F83 #469A1F #1F9A74
monochromatic
#340A2C #671558 #9A1F83 #CD29AE #DD56C4

Accessibility & contrast

On white

7.25
#9A1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F83
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F83#FFFFFF#000000##FFFFFF
##9A1F831.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A32850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1f83;
/* rgb */ color: rgb(154, 31, 131);
/* oklch */ color: oklch(48.1% 0.188 337.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aa7',
    500: '#9a1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f83;
$custom-light: #bc6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f83",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 311.22,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.18772,
    "h": 337.2
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#9A1F83
secondary
#54C168
accent
#E95E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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