#9F1F62#9F1F62

#9F1F62 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.172 H 354.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F1F62
RGBrgb(159, 31, 98)
HSLhsl(329, 67%, 37%)
HSVhsv(329, 81%, 62%)
CMYKcmyk(0%, 80.5%, 38.4%, 37.6%)
CIE-LABlab(36.43, 55.68, -6.65)
CIE-LCHlch(36.43, 56.07, 353.19°)
OKLaboklab(47.47% 0.1712 -0.0169)
OKLCHoklch(47.47% 0.172 354.4)
XYZxyz(16.9938, 9.2349, 12.4405)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F62 #1F9F5C
analogous
#9C1F9F #9F1F62 #9F1F22
triadic
#9F1F62 #629F1F #1F629F
tetradic
#9F1F62 #9F9C1F #1F9F5C #1F229F
square
#9F1F62 #9F9C1F #1F9F5C #1F229F
split-complementary
#9F1F62 #229F1F #1F9F9C
monochromatic
#390B23 #6C1542 #9F1F62 #D22982 #DF5A9F

Accessibility & contrast

On white

7.38
#9F1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F1F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F62
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F62#FFFFFF#000000##FFFFFF
##9F1F621.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5E5E5F
Tritanopia (blue-blind)
#AC0C3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1f62;
/* rgb */ color: rgb(159, 31, 98);
/* oklch */ color: oklch(47.5% 0.172 354.4);
Tailwind
colors: {
  custom: {
    50: '#c06a8e',
    500: '#9f1f62',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f62;
$custom-light: #c06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f62",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 328.594,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.17203,
    "h": 354.4
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#9F1F62
secondary
#57C38A
accent
#EA903E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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