#9F1885#9F1885

#9F1885 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 337.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F1885
RGBrgb(159, 24, 133)
HSLhsl(312, 74%, 36%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 84.9%, 16.4%, 37.6%)
CIE-LABlab(37.33, 61.74, -27.27)
CIE-LCHlch(37.33, 67.49, 336.17°)
OKLaboklab(48.62% 0.1831 -0.0742)
OKLCHoklch(48.62% 0.198 337.9)
XYZxyz(18.8588, 9.7195, 23.0686)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1885 #189F32
analogous
#75189F #9F1885 #9F1841
triadic
#9F1885 #859F18 #18859F
tetradic
#9F1885 #9F7518 #189F32 #18419F
square
#9F1885 #9F7518 #189F32 #18419F
split-complementary
#9F1885 #419F18 #189F75
monochromatic
#35082C #6A1059 #9F1885 #D420B1 #E44DC7

Accessibility & contrast

On white

7.13
#9F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1885
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1885#FFFFFF#000000##FFFFFF
##9F18851.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82250
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1885;
/* rgb */ color: rgb(159, 24, 133);
/* oklch */ color: oklch(48.6% 0.198 337.9);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#9f1885',
    950: '#000000',
  },
}
SCSS
$custom: #9f1885;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1885",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 311.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48618,
    "c": 0.1976,
    "h": 337.9
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#9F1885
secondary
#4DC664
accent
#F05B37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1885

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

Preview Lab → · Contrast checker → · Palette generator →

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