#8F1840#8F1840

#8F1840 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 7.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8F1840
RGBrgb(143, 24, 64)
HSLhsl(340, 71%, 33%)
HSVhsv(340, 83%, 56%)
CMYKcmyk(0%, 83.2%, 55.2%, 43.9%)
CIE-LABlab(31.50, 50.09, 7.91)
CIE-LCHlch(31.50, 50.71, 8.97°)
OKLaboklab(42.94% 0.1527 0.0203)
OKLCHoklch(42.94% 0.154 7.6)
XYZxyz(12.5809, 6.8649, 5.5121)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1840 #188F67
analogous
#8F187B #8F1840 #8F2C18
triadic
#8F1840 #408F18 #18408F
tetradic
#8F1840 #7B8F18 #188F67 #2C188F
square
#8F1840 #7B8F18 #188F67 #2C188F
split-complementary
#8F1840 #188F2C #187B8F
monochromatic
#260611 #5B0F29 #8F1840 #C32157 #DF4277

Accessibility & contrast

On white

8.85
#8F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8F1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1840
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1840#FFFFFF#000000##FFFFFF
##8F18401.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9D002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1840;
/* rgb */ color: rgb(143, 24, 64);
/* oklch */ color: oklch(42.9% 0.154 7.6);
Tailwind
colors: {
  custom: {
    50: '#b66374',
    500: '#8f1840',
    950: '#000000',
  },
}
SCSS
$custom: #8f1840;
$custom-light: #b66374;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1840",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 339.832,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.15403,
    "h": 7.6
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#8F1840
secondary
#43C096
accent
#EEB13A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1840

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

Preview Lab → · Contrast checker → · Palette generator →

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