#8F246C#8F246C

#8F246C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.160 H 344.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F246C
RGBrgb(143, 36, 108)
HSLhsl(320, 60%, 35%)
HSVhsv(320, 75%, 56%)
CMYKcmyk(0%, 74.8%, 24.5%, 43.9%)
CIE-LABlab(34.37, 51.08, -16.44)
CIE-LCHlch(34.37, 53.66, 342.16°)
OKLaboklab(45.54% 0.1543 -0.0438)
OKLCHoklch(45.54% 0.16 344.1)
XYZxyz(14.6659, 8.1856, 14.9921)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F246C #248F47
analogous
#7C248F #8F246C #8F2436
triadic
#8F246C #6C8F24 #246C8F
tetradic
#8F246C #8F7C24 #248F47 #24368F
square
#8F246C #8F7C24 #248F47 #24368F
split-complementary
#8F246C #368F24 #248F7C
monochromatic
#2D0B22 #5E1847 #8F246C #C03091 #D558AC

Accessibility & contrast

On white

7.96
#8F246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F246C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F246C#FFFFFF#000000##FFFFFF
##8F246C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456E
Deuteranopia (green-blind)
#51576A
Tritanopia (blue-blind)
#992345
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f246c;
/* rgb */ color: rgb(143, 36, 108);
/* oklch */ color: oklch(45.5% 0.160 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36996',
    500: '#8f246c',
    950: '#000000',
  },
}
SCSS
$custom: #8f246c;
$custom-light: #b36996;
$custom-dark: #000000;
JSON
{
  "hex": "#8f246c",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 319.626,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.16037,
    "h": 344.1
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#8F246C
secondary
#55B976
accent
#E37945
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F246C

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

Preview Lab → · Contrast checker → · Palette generator →

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