#9F124D#9F124D

#9F124D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.175 H 3.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9F124D
RGBrgb(159, 18, 77)
HSLhsl(335, 80%, 35%)
HSVhsv(335, 89%, 62%)
CMYKcmyk(0%, 88.7%, 51.6%, 37.6%)
CIE-LABlab(34.68, 56.77, 4.34)
CIE-LCHlch(34.68, 56.94, 4.37°)
OKLaboklab(45.98% 0.1742 0.0116)
OKLCHoklch(45.98% 0.175 3.8)
XYZxyz(15.8554, 8.3417, 7.7950)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F124D #129F64
analogous
#9F1293 #9F124D #9F1E12
triadic
#9F124D #4D9F12 #124D9F
tetradic
#9F124D #939F12 #129F64 #1E129F
square
#9F124D #939F12 #129F64 #1E129F
split-complementary
#9F124D #129F1E #12939F
monochromatic
#310618 #680C32 #9F124D #D61868 #EA4288

Accessibility & contrast

On white

7.87
#9F124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F124D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F124D#FFFFFF#000000##FFFFFF
##9F124D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f124d;
/* rgb */ color: rgb(159, 18, 77);
/* oklch */ color: oklch(46.0% 0.175 3.8);
Tailwind
colors: {
  custom: {
    50: '#c2657e',
    500: '#9f124d',
    950: '#000000',
  },
}
SCSS
$custom: #9f124d;
$custom-light: #c2657e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f124d",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 334.894,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.17458,
    "h": 3.8
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#9F124D
secondary
#43CA91
accent
#F6A432
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F124D

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

Preview Lab → · Contrast checker → · Palette generator →

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