#9F1F64#9F1F64

#9F1F64 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 353.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F1F64
RGBrgb(159, 31, 100)
HSLhsl(328, 67%, 37%)
HSVhsv(328, 81%, 62%)
CMYKcmyk(0%, 80.5%, 37.1%, 37.6%)
CIE-LABlab(36.50, 55.89, -7.82)
CIE-LCHlch(36.50, 56.44, 352.04°)
OKLaboklab(47.55% 0.1718 -0.02)
OKLCHoklch(47.55% 0.173 353.4)
XYZxyz(17.0894, 9.2731, 12.9441)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F64 #1F9F5A
analogous
#9A1F9F #9F1F64 #9F1F24
triadic
#9F1F64 #649F1F #1F649F
tetradic
#9F1F64 #9F9A1F #1F9F5A #1F249F
square
#9F1F64 #9F9A1F #1F9F5A #1F249F
split-complementary
#9F1F64 #249F1F #1F9F9A
monochromatic
#390B24 #6C1544 #9F1F64 #D22984 #DF5AA1

Accessibility & contrast

On white

7.36
#9F1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F64
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F64#FFFFFF#000000##FFFFFF
##9F1F641.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#5D5E61
Tritanopia (blue-blind)
#AC0E3F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1f64;
/* rgb */ color: rgb(159, 31, 100);
/* oklch */ color: oklch(47.5% 0.173 353.4);
Tailwind
colors: {
  custom: {
    50: '#c06a90',
    500: '#9f1f64',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f64;
$custom-light: #c06a90;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f64",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 327.656,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.17292,
    "h": 353.4
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#9F1F64
secondary
#57C389
accent
#EA8D3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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