#9F0F4D#9F0F4D

#9F0F4D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.176 H 3.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9F0F4D
RGBrgb(159, 15, 77)
HSLhsl(334, 83%, 34%)
HSVhsv(334, 91%, 62%)
CMYKcmyk(0%, 90.6%, 51.6%, 37.6%)
CIE-LABlab(34.50, 57.31, 4.08)
CIE-LCHlch(34.50, 57.45, 4.07°)
OKLaboklab(45.84% 0.1759 0.0109)
OKLCHoklch(45.84% 0.176 3.6)
XYZxyz(15.8099, 8.2507, 7.7798)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F0F4D #0F9F61
analogous
#9F0F95 #9F0F4D #9F190F
triadic
#9F0F4D #4D9F0F #0F4D9F
tetradic
#9F0F4D #959F0F #0F9F61 #190F9F
square
#9F0F4D #959F0F #0F9F61 #190F9F
split-complementary
#9F0F4D #0F9F19 #0F959F
monochromatic
#2F0417 #670A32 #9F0F4D #D71468 #ED3C88

Accessibility & contrast

On white

7.93
#9F0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9F0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F0F4D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F0F4D#FFFFFF#000000##FFFFFF
##9F0F4D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f0f4d;
/* rgb */ color: rgb(159, 15, 77);
/* oklch */ color: oklch(45.8% 0.176 3.6);
Tailwind
colors: {
  custom: {
    50: '#c2647e',
    500: '#9f0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f0f4d;
$custom-light: #c2647e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f0f4d",
  "rgb": {
    "r": 159,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 334.167,
    "s": 82.759,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.17627,
    "h": 3.6
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#9F0F4D
secondary
#3ECC8F
accent
#F9A22F
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140609
muted
#827A7B

Preview Lab

Preview with #9F0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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