#8F246F#8F246F

#8F246F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.162 H 342.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F246F
RGBrgb(143, 36, 111)
HSLhsl(318, 60%, 35%)
HSVhsv(318, 75%, 56%)
CMYKcmyk(0%, 74.8%, 22.4%, 43.9%)
CIE-LABlab(34.50, 51.50, -18.14)
CIE-LCHlch(34.50, 54.60, 340.60°)
OKLaboklab(45.68% 0.1548 -0.0486)
OKLCHoklch(45.68% 0.162 342.6)
XYZxyz(14.8283, 8.2506, 15.8474)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F246F #248F44
analogous
#7A248F #8F246F #8F2439
triadic
#8F246F #6F8F24 #246F8F
tetradic
#8F246F #8F7A24 #248F44 #24398F
square
#8F246F #8F7A24 #248F44 #24398F
split-complementary
#8F246F #398F24 #248F7A
monochromatic
#2D0B23 #5E1849 #8F246F #C03095 #D558B0

Accessibility & contrast

On white

7.93
#8F246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F246F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F246F#FFFFFF#000000##FFFFFF
##8F246F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#50576D
Tritanopia (blue-blind)
#982546
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f246f;
/* rgb */ color: rgb(143, 36, 111);
/* oklch */ color: oklch(45.7% 0.162 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36a98',
    500: '#8f246f',
    950: '#000000',
  },
}
SCSS
$custom: #8f246f;
$custom-light: #b36a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8f246f",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 317.944,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.16228,
    "h": 342.6
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#8F246F
secondary
#55B973
accent
#E37445
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F246F

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

Preview Lab → · Contrast checker → · Palette generator →

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