#9F1E4F#9F1E4F

#9F1E4F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 4.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9F1E4F
RGBrgb(159, 30, 79)
HSLhsl(337, 68%, 37%)
HSVhsv(337, 81%, 62%)
CMYKcmyk(0%, 81.1%, 50.3%, 37.6%)
CIE-LABlab(35.73, 54.13, 4.53)
CIE-LCHlch(35.73, 54.31, 4.79°)
OKLaboklab(46.76% 0.1658 0.0121)
OKLCHoklch(46.76% 0.166 4.2)
XYZxyz(16.1751, 8.8663, 8.2552)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E4F #1E9F6E
analogous
#9F1E90 #9F1E4F #9F2D1E
triadic
#9F1E4F #4F9F1E #1E4F9F
tetradic
#9F1E4F #909F1E #1E9F6E #2D1E9F
square
#9F1E4F #909F1E #1E9F6E #2D1E9F
split-complementary
#9F1E4F #1E9F2D #1E909F
monochromatic
#380B1C #6C1435 #9F1E4F #D22869 #DF588B

Accessibility & contrast

On white

7.57
#9F1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E4F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E4F#FFFFFF#000000##FFFFFF
##9F1E4F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e4f;
/* rgb */ color: rgb(159, 30, 79);
/* oklch */ color: oklch(46.8% 0.166 4.2);
Tailwind
colors: {
  custom: {
    50: '#c16980',
    500: '#9f1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e4f;
$custom-light: #c16980;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e4f",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 337.209,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.16624,
    "h": 4.2
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#9F1E4F
secondary
#56C39A
accent
#EBA93D
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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