#9F124C#9F124C

#9F124C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 4.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F124C
RGBrgb(159, 18, 76)
HSLhsl(335, 80%, 35%)
HSVhsv(335, 89%, 62%)
CMYKcmyk(0%, 88.7%, 52.2%, 37.6%)
CIE-LABlab(34.66, 56.69, 4.95)
CIE-LCHlch(34.66, 56.91, 4.99°)
OKLaboklab(45.95% 0.1738 0.0131)
OKLCHoklch(45.95% 0.174 4.3)
XYZxyz(15.8204, 8.3277, 7.6104)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F124C #129F65
analogous
#9F1293 #9F124C #9F1E12
triadic
#9F124C #4C9F12 #124C9F
tetradic
#9F124C #939F12 #129F65 #1E129F
square
#9F124C #939F12 #129F65 #1E129F
split-complementary
#9F124C #129F1E #12939F
monochromatic
#310617 #680C32 #9F124C #D61866 #EA4287

Accessibility & contrast

On white

7.88
#9F124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F124C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F124C#FFFFFF#000000##FFFFFF
##9F124C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f124c;
/* rgb */ color: rgb(159, 18, 76);
/* oklch */ color: oklch(45.9% 0.174 4.3);
Tailwind
colors: {
  custom: {
    50: '#c2657d',
    500: '#9f124c',
    950: '#000000',
  },
}
SCSS
$custom: #9f124c;
$custom-light: #c2657d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f124c",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 335.319,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.17432,
    "h": 4.3
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#9F124C
secondary
#43CA92
accent
#F6A532
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F124C

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

Preview Lab → · Contrast checker → · Palette generator →

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