#9F1183#9F1183

#9F1183 is a mid, highly saturated pink. Relative luminance 0.094; OKLCH L 48.2% C 0.201 H 338.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9F1183
RGBrgb(159, 17, 131)
HSLhsl(312, 81%, 35%)
HSVhsv(312, 89%, 62%)
CMYKcmyk(0%, 89.3%, 17.6%, 37.6%)
CIE-LABlab(36.77, 62.82, -26.92)
CIE-LCHlch(36.77, 68.35, 336.80°)
OKLaboklab(48.18% 0.1871 -0.0732)
OKLCHoklch(48.18% 0.201 338.6)
XYZxyz(18.5958, 9.4125, 22.3058)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1183 #119F2D
analogous
#74119F #9F1183 #9F113C
triadic
#9F1183 #839F11 #11839F
tetradic
#9F1183 #9F7411 #119F2D #113C9F
square
#9F1183 #9F7411 #119F2D #113C9F
split-complementary
#9F1183 #3C9F11 #119F74
monochromatic
#300528 #680B55 #9F1183 #D617B1 #EB40C9

Accessibility & contrast

On white

7.29
#9F1183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1183
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1183#FFFFFF#000000##FFFFFF
##9F11831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A91C4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1183;
/* rgb */ color: rgb(159, 17, 131);
/* oklch */ color: oklch(48.2% 0.201 338.6);
Tailwind
colors: {
  custom: {
    50: '#c067a7',
    500: '#9f1183',
    950: '#000000',
  },
}
SCSS
$custom: #9f1183;
$custom-light: #c067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1183",
  "rgb": {
    "r": 159,
    "g": 17,
    "b": 131
  },
  "hsl": {
    "h": 311.831,
    "s": 80.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.20089,
    "h": 338.6
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#9F1183
secondary
#42CA5C
accent
#F75831
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1183

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

Preview Lab → · Contrast checker → · Palette generator →

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