#9F1A3F#9F1A3F

#9F1A3F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 11.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1A3F
RGBrgb(159, 26, 63)
HSLhsl(343, 72%, 36%)
HSVhsv(343, 84%, 62%)
CMYKcmyk(0%, 83.6%, 60.4%, 37.6%)
CIE-LABlab(34.95, 53.97, 13.83)
CIE-LCHlch(34.95, 55.71, 14.37°)
OKLaboklab(46.05% 0.1631 0.0342)
OKLCHoklch(46.05% 0.167 11.9)
XYZxyz(15.5663, 8.4710, 5.5171)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A3F #1A9F7A
analogous
#9F1A82 #9F1A3F #9F381A
triadic
#9F1A3F #3F9F1A #1A3F9F
tetradic
#9F1A3F #829F1A #1A9F7A #381A9F
square
#9F1A3F #829F1A #1A9F7A #381A9F
split-complementary
#9F1A3F #1A9F38 #1A829F
monochromatic
#360915 #6A112A #9F1A3F #D42354 #E35179

Accessibility & contrast

On white

7.80
#9F1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A3F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A3F#FFFFFF#000000##FFFFFF
##9F1A3F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1a3f;
/* rgb */ color: rgb(159, 26, 63);
/* oklch */ color: oklch(46.1% 0.167 11.9);
Tailwind
colors: {
  custom: {
    50: '#c26773',
    500: '#9f1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a3f;
$custom-light: #c26773;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a3f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 343.308,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.1666,
    "h": 11.9
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#9F1A3F
secondary
#50C5A4
accent
#EFBC39
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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