#9F1874#9F1874

#9F1874 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 345.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9F1874
RGBrgb(159, 24, 116)
HSLhsl(319, 74%, 36%)
HSVhsv(319, 85%, 62%)
CMYKcmyk(0%, 84.9%, 27%, 37.6%)
CIE-LABlab(36.53, 59.52, -17.91)
CIE-LCHlch(36.53, 62.15, 343.25°)
OKLaboklab(47.78% 0.181 -0.0477)
OKLCHoklch(47.78% 0.187 345.2)
XYZxyz(17.7779, 9.2872, 17.3760)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1874 #189F43
analogous
#86189F #9F1874 #9F1831
triadic
#9F1874 #749F18 #18749F
tetradic
#9F1874 #9F8618 #189F43 #18319F
square
#9F1874 #9F8618 #189F43 #18319F
split-complementary
#9F1874 #319F18 #189F86
monochromatic
#350826 #6A104D #9F1874 #D4209B #E44DB4

Accessibility & contrast

On white

7.35
#9F1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1874
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1874#FFFFFF#000000##FFFFFF
##9F18741.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4876
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#AA1446
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1874;
/* rgb */ color: rgb(159, 24, 116);
/* oklch */ color: oklch(47.8% 0.187 345.2);
Tailwind
colors: {
  custom: {
    50: '#c0689c',
    500: '#9f1874',
    950: '#000000',
  },
}
SCSS
$custom: #9f1874;
$custom-light: #c0689c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1874",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 319.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.18718,
    "h": 345.2
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#9F1874
secondary
#4DC673
accent
#F07237
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1874

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

Preview Lab → · Contrast checker → · Palette generator →

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