#9F1E4D#9F1E4D

#9F1E4D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 5.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F1E4D
RGBrgb(159, 30, 77)
HSLhsl(338, 68%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 81.1%, 51.6%, 37.6%)
CIE-LABlab(35.67, 53.96, 5.75)
CIE-LCHlch(35.67, 54.26, 6.08°)
OKLaboklab(46.7% 0.1651 0.0151)
OKLCHoklch(46.7% 0.166 5.2)
XYZxyz(16.1034, 8.8376, 7.8776)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E4D #1E9F70
analogous
#9F1E8D #9F1E4D #9F301E
triadic
#9F1E4D #4D9F1E #1E4D9F
tetradic
#9F1E4D #8D9F1E #1E9F70 #301E9F
square
#9F1E4D #8D9F1E #1E9F70 #301E9F
split-complementary
#9F1E4D #1E9F30 #1E8D9F
monochromatic
#380B1B #6C1434 #9F1E4D #D22866 #DF5889

Accessibility & contrast

On white

7.59
#9F1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E4D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E4D#FFFFFF#000000##FFFFFF
##9F1E4D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e4d;
/* rgb */ color: rgb(159, 30, 77);
/* oklch */ color: oklch(46.7% 0.166 5.2);
Tailwind
colors: {
  custom: {
    50: '#c1687e',
    500: '#9f1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e4d;
$custom-light: #c1687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e4d",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 338.14,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.16575,
    "h": 5.2
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#9F1E4D
secondary
#56C39B
accent
#EBAC3D
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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