#8F246A#8F246A

#8F246A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.159 H 345.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F246A
RGBrgb(143, 36, 106)
HSLhsl(321, 60%, 35%)
HSVhsv(321, 75%, 56%)
CMYKcmyk(0%, 74.8%, 25.9%, 43.9%)
CIE-LABlab(34.28, 50.81, -15.30)
CIE-LCHlch(34.28, 53.07, 343.25°)
OKLaboklab(45.45% 0.1538 -0.0407)
OKLCHoklch(45.45% 0.159 345.2)
XYZxyz(14.5607, 8.1436, 14.4379)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F246A #248F49
analogous
#7F248F #8F246A #8F2434
triadic
#8F246A #6A8F24 #246A8F
tetradic
#8F246A #8F7F24 #248F49 #24348F
square
#8F246A #8F7F24 #248F49 #24348F
split-complementary
#8F246A #348F24 #248F7F
monochromatic
#2D0B22 #5E1846 #8F246A #C0308E #D558AA

Accessibility & contrast

On white

7.99
#8F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F246A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F246A#FFFFFF#000000##FFFFFF
##8F246A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#992244
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f246a;
/* rgb */ color: rgb(143, 36, 106);
/* oklch */ color: oklch(45.5% 0.159 345.2);
Tailwind
colors: {
  custom: {
    50: '#b46994',
    500: '#8f246a',
    950: '#000000',
  },
}
SCSS
$custom: #8f246a;
$custom-light: #b46994;
$custom-dark: #000000;
JSON
{
  "hex": "#8f246a",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 320.748,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.15913,
    "h": 345.2
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#8F246A
secondary
#55B978
accent
#E37C45
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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