#8F1768#8F1768

#8F1768 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 345.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8F1768
RGBrgb(143, 23, 104)
HSLhsl(320, 72%, 33%)
HSVhsv(320, 84%, 56%)
CMYKcmyk(0%, 83.9%, 27.3%, 43.9%)
CIE-LABlab(32.82, 54.47, -16.27)
CIE-LCHlch(32.82, 56.85, 343.37°)
OKLaboklab(44.36% 0.1656 -0.0433)
OKLCHoklch(44.36% 0.171 345.4)
XYZxyz(14.1334, 7.4535, 13.7884)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1768 #178F3E
analogous
#7A178F #8F1768 #8F172C
triadic
#8F1768 #688F17 #17688F
tetradic
#8F1768 #8F7A17 #178F3E #172C8F
square
#8F1768 #8F7A17 #178F3E #172C8F
split-complementary
#8F1768 #2C8F17 #178F7A
monochromatic
#26061B #5A0F42 #8F1768 #C41F8E #E040AC

Accessibility & contrast

On white

8.43
#8F1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8F1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1768
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1768#FFFFFF#000000##FFFFFF
##8F17681.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#4E5465
Tritanopia (blue-blind)
#99143F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1768;
/* rgb */ color: rgb(143, 23, 104);
/* oklch */ color: oklch(44.4% 0.171 345.4);
Tailwind
colors: {
  custom: {
    50: '#b46493',
    500: '#8f1768',
    950: '#000000',
  },
}
SCSS
$custom: #8f1768;
$custom-light: #b46493;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1768",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 319.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44363,
    "c": 0.17117,
    "h": 345.4
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#8F1768
secondary
#41C16B
accent
#EF7439
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F1768

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

Preview Lab → · Contrast checker → · Palette generator →

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