#8F1874#8F1874

#8F1874 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 339.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8F1874
RGBrgb(143, 24, 116)
HSLhsl(314, 71%, 33%)
HSVhsv(314, 83%, 56%)
CMYKcmyk(0%, 83.2%, 18.9%, 43.9%)
CIE-LABlab(33.47, 55.81, -22.90)
CIE-LCHlch(33.47, 60.33, 337.69°)
OKLaboklab(45.02% 0.1666 -0.062)
OKLCHoklch(45.02% 0.178 339.6)
XYZxyz(14.8071, 7.7554, 17.2367)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1874 #188F33
analogous
#6E188F #8F1874 #8F1839
triadic
#8F1874 #748F18 #18748F
tetradic
#8F1874 #8F6E18 #188F33 #18398F
square
#8F1874 #8F6E18 #188F33 #18398F
split-complementary
#8F1874 #398F18 #188F6E
monochromatic
#26061F #5B0F49 #8F1874 #C3219F #DF42BC

Accessibility & contrast

On white

8.23
#8F1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1874
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1874#FFFFFF#000000##FFFFFF
##8F18741.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#981E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1874;
/* rgb */ color: rgb(143, 24, 116);
/* oklch */ color: oklch(45.0% 0.178 339.6);
Tailwind
colors: {
  custom: {
    50: '#b4659c',
    500: '#8f1874',
    950: '#000000',
  },
}
SCSS
$custom: #8f1874;
$custom-light: #b4659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1874",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 313.613,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.17778,
    "h": 339.6
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#8F1874
secondary
#43C05F
accent
#EE633A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1874

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

Preview Lab → · Contrast checker → · Palette generator →

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