#9F1E4E#9F1E4E

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

Color values

HEX#9F1E4E
RGBrgb(159, 30, 78)
HSLhsl(338, 68%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 81.1%, 50.9%, 37.6%)
CIE-LABlab(35.70, 54.04, 5.14)
CIE-LCHlch(35.70, 54.28, 5.43°)
OKLaboklab(46.73% 0.1654 0.0136)
OKLCHoklch(46.73% 0.166 4.7)
XYZxyz(16.1389, 8.8518, 8.0650)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E4E #1E9F6F
analogous
#9F1E8F #9F1E4E #9F2E1E
triadic
#9F1E4E #4E9F1E #1E4E9F
tetradic
#9F1E4E #8F9F1E #1E9F6F #2E1E9F
square
#9F1E4E #8F9F1E #1E9F6F #2E1E9F
split-complementary
#9F1E4E #1E9F2E #1E8F9F
monochromatic
#380B1B #6C1435 #9F1E4E #D22867 #DF588A

Accessibility & contrast

On white

7.58
#9F1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E4E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E4E#FFFFFF#000000##FFFFFF
##9F1E4E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e4e;
/* rgb */ color: rgb(159, 30, 78);
/* oklch */ color: oklch(46.7% 0.166 4.7);
Tailwind
colors: {
  custom: {
    50: '#c1697f',
    500: '#9f1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e4e;
$custom-light: #c1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e4e",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 337.674,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.16599,
    "h": 4.7
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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