#9F1F6E#9F1F6E

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

Color values

HEX#9F1F6E
RGBrgb(159, 31, 110)
HSLhsl(323, 67%, 37%)
HSVhsv(323, 81%, 62%)
CMYKcmyk(0%, 80.5%, 30.8%, 37.6%)
CIE-LABlab(36.89, 57.03, -13.58)
CIE-LCHlch(36.89, 58.63, 346.61°)
OKLaboklab(47.96% 0.1743 -0.0357)
OKLCHoklch(47.96% 0.178 348.4)
XYZxyz(17.6035, 9.4788, 15.6514)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F6E #1F9F50
analogous
#901F9F #9F1F6E #9F1F2E
triadic
#9F1F6E #6E9F1F #1F6E9F
tetradic
#9F1F6E #9F901F #1F9F50 #1F2E9F
square
#9F1F6E #9F901F #1F9F50 #1F2E9F
split-complementary
#9F1F6E #2E9F1F #1F9F90
monochromatic
#390B27 #6C154B #9F1F6E #D22991 #DF5AAC

Accessibility & contrast

On white

7.25
#9F1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F6E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F6E#FFFFFF#000000##FFFFFF
##9F1F6E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#AB1744
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1f6e;
/* rgb */ color: rgb(159, 31, 110);
/* oklch */ color: oklch(48.0% 0.178 348.4);
Tailwind
colors: {
  custom: {
    50: '#c06a97',
    500: '#9f1f6e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f6e;
$custom-light: #c06a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f6e",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 322.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.17791,
    "h": 348.4
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#9F1F6E
secondary
#57C380
accent
#EA803E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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