#8F1246#8F1246

#8F1246 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.160 H 3.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8F1246
RGBrgb(143, 18, 70)
HSLhsl(335, 78%, 32%)
HSVhsv(335, 87%, 56%)
CMYKcmyk(0%, 87.4%, 51%, 43.9%)
CIE-LABlab(31.15, 52.04, 3.44)
CIE-LCHlch(31.15, 52.16, 3.78°)
OKLaboklab(42.74% 0.1597 0.0093)
OKLCHoklch(42.74% 0.16 3.3)
XYZxyz(12.6506, 6.7163, 6.4234)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1246 #128F5B
analogous
#8F1285 #8F1246 #8F1D12
triadic
#8F1246 #468F12 #12468F
tetradic
#8F1246 #858F12 #128F5B #1D128F
square
#8F1246 #858F12 #128F5B #1D128F
split-complementary
#8F1246 #128F1D #12858F
monochromatic
#220411 #590B2B #8F1246 #C51961 #E6367F

Accessibility & contrast

On white

8.96
#8F1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8F1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1246
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1246#FFFFFF#000000##FFFFFF
##8F12461.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1246;
/* rgb */ color: rgb(143, 18, 70);
/* oklch */ color: oklch(42.7% 0.160 3.3);
Tailwind
colors: {
  custom: {
    50: '#b66279',
    500: '#8f1246',
    950: '#000000',
  },
}
SCSS
$custom: #8f1246;
$custom-light: #b66279;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1246",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 335.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.16,
    "h": 3.3
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#8F1246
secondary
#3AC38A
accent
#F4A434
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1246

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

Preview Lab → · Contrast checker → · Palette generator →

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