#9F1F70#9F1F70

#9F1F70 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 347.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F1F70
RGBrgb(159, 31, 112)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 81%, 62%)
CMYKcmyk(0%, 80.5%, 29.6%, 37.6%)
CIE-LABlab(36.97, 57.27, -14.72)
CIE-LCHlch(36.97, 59.13, 345.59°)
OKLaboklab(48.04% 0.1747 -0.0388)
OKLCHoklch(48.04% 0.179 347.5)
XYZxyz(17.7136, 9.5228, 16.2314)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F70 #1F9F4E
analogous
#8E1F9F #9F1F70 #9F1F30
triadic
#9F1F70 #709F1F #1F709F
tetradic
#9F1F70 #9F8E1F #1F9F4E #1F309F
square
#9F1F70 #9F8E1F #1F9F4E #1F309F
split-complementary
#9F1F70 #309F1F #1F9F8E
monochromatic
#390B28 #6C154C #9F1F70 #D22994 #DF5AAE

Accessibility & contrast

On white

7.23
#9F1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F70
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F70#FFFFFF#000000##FFFFFF
##9F1F701.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#5A5F6D
Tritanopia (blue-blind)
#AB1945
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1f70;
/* rgb */ color: rgb(159, 31, 112);
/* oklch */ color: oklch(48.0% 0.179 347.5);
Tailwind
colors: {
  custom: {
    50: '#c06a99',
    500: '#9f1f70',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f70;
$custom-light: #c06a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f70",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 322.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.17899,
    "h": 347.5
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#9F1F70
secondary
#57C37F
accent
#EA7D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1F70

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

Preview Lab → · Contrast checker → · Palette generator →

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