#8F1242#8F1242

#8F1242 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.159 H 5.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1242
RGBrgb(143, 18, 66)
HSLhsl(337, 78%, 32%)
HSVhsv(337, 87%, 56%)
CMYKcmyk(0%, 87.4%, 53.8%, 43.9%)
CIE-LABlab(31.04, 51.72, 5.93)
CIE-LCHlch(31.04, 52.05, 6.54°)
OKLaboklab(42.62% 0.1582 0.0155)
OKLCHoklch(42.62% 0.159 5.6)
XYZxyz(12.5286, 6.6674, 5.7804)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1242 #128F5F
analogous
#8F1281 #8F1242 #8F2112
triadic
#8F1242 #428F12 #12428F
tetradic
#8F1242 #818F12 #128F5F #21128F
square
#8F1242 #818F12 #128F5F #21128F
split-complementary
#8F1242 #128F21 #12818F
monochromatic
#220410 #590B29 #8F1242 #C5195B #E63679

Accessibility & contrast

On white

9.00
#8F1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F1242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1242
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1242#FFFFFF#000000##FFFFFF
##8F12421.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1242;
/* rgb */ color: rgb(143, 18, 66);
/* oklch */ color: oklch(42.6% 0.159 5.6);
Tailwind
colors: {
  custom: {
    50: '#b66276',
    500: '#8f1242',
    950: '#000000',
  },
}
SCSS
$custom: #8f1242;
$custom-light: #b66276;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1242",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 336.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.15898,
    "h": 5.6
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#8F1242
secondary
#3AC38E
accent
#F4AA34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1242

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

Preview Lab → · Contrast checker → · Palette generator →

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