#9F1F67#9F1F67

#9F1F67 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.174 H 351.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F1F67
RGBrgb(159, 31, 103)
HSLhsl(326, 67%, 37%)
HSVhsv(326, 81%, 62%)
CMYKcmyk(0%, 80.5%, 35.2%, 37.6%)
CIE-LABlab(36.62, 56.22, -9.56)
CIE-LCHlch(36.62, 57.03, 350.35°)
OKLaboklab(47.67% 0.1726 -0.0247)
OKLCHoklch(47.67% 0.174 351.9)
XYZxyz(17.2373, 9.3323, 13.7229)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F67 #1F9F57
analogous
#971F9F #9F1F67 #9F1F27
triadic
#9F1F67 #679F1F #1F679F
tetradic
#9F1F67 #9F971F #1F9F57 #1F279F
square
#9F1F67 #9F971F #1F9F57 #1F279F
split-complementary
#9F1F67 #279F1F #1F9F97
monochromatic
#390B25 #6C1546 #9F1F67 #D22988 #DF5AA5

Accessibility & contrast

On white

7.33
#9F1F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F67
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F67#FFFFFF#000000##FFFFFF
##9F1F671.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384869
Deuteranopia (green-blind)
#5C5E64
Tritanopia (blue-blind)
#AC1141
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1f67;
/* rgb */ color: rgb(159, 31, 103);
/* oklch */ color: oklch(47.7% 0.174 351.9);
Tailwind
colors: {
  custom: {
    50: '#c06a92',
    500: '#9f1f67',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f67;
$custom-light: #c06a92;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f67",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 326.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.17434,
    "h": 351.9
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#9F1F67
secondary
#57C386
accent
#EA893E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D

Preview Lab

Preview with #9F1F67

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

Preview Lab → · Contrast checker → · Palette generator →

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