#9F1B74#9F1B74

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

Color values

HEX#9F1B74
RGBrgb(159, 27, 116)
HSLhsl(320, 71%, 36%)
HSVhsv(320, 83%, 62%)
CMYKcmyk(0%, 83%, 27%, 37.6%)
CIE-LABlab(36.78, 58.81, -17.53)
CIE-LCHlch(36.78, 61.37, 343.40°)
OKLaboklab(47.96% 0.1788 -0.0466)
OKLCHoklch(47.96% 0.185 345.4)
XYZxyz(17.8432, 9.4178, 17.3978)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B74 #1B9F46
analogous
#881B9F #9F1B74 #9F1B32
triadic
#9F1B74 #749F1B #1B749F
tetradic
#9F1B74 #9F881B #1B9F46 #1B329F
square
#9F1B74 #9F881B #1B9F46 #1B329F
split-complementary
#9F1B74 #329F1B #1B9F88
monochromatic
#360928 #6B124E #9F1B74 #D3249A #E253B3

Accessibility & contrast

On white

7.28
#9F1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B74
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B74#FFFFFF#000000##FFFFFF
##9F1B741.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#585E71
Tritanopia (blue-blind)
#AA1747
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1b74;
/* rgb */ color: rgb(159, 27, 116);
/* oklch */ color: oklch(48.0% 0.185 345.4);
Tailwind
colors: {
  custom: {
    50: '#c0699c',
    500: '#9f1b74',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b74;
$custom-light: #c0699c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b74",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 319.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.18479,
    "h": 345.4
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#9F1B74
secondary
#51C577
accent
#EE753A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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