#8F246B#8F246B

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

Color values

HEX#8F246B
RGBrgb(143, 36, 107)
HSLhsl(320, 60%, 35%)
HSVhsv(320, 75%, 56%)
CMYKcmyk(0%, 74.8%, 25.2%, 43.9%)
CIE-LABlab(34.32, 50.95, -15.87)
CIE-LCHlch(34.32, 53.36, 342.70°)
OKLaboklab(45.5% 0.1541 -0.0423)
OKLCHoklch(45.5% 0.16 344.7)
XYZxyz(14.6130, 8.1645, 14.7134)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F246B #248F48
analogous
#7E248F #8F246B #8F2435
triadic
#8F246B #6B8F24 #246B8F
tetradic
#8F246B #8F7E24 #248F48 #24358F
square
#8F246B #8F7E24 #248F48 #24358F
split-complementary
#8F246B #358F24 #248F7E
monochromatic
#2D0B22 #5E1846 #8F246B #C03090 #D558AB

Accessibility & contrast

On white

7.98
#8F246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F246B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F246B#FFFFFF#000000##FFFFFF
##8F246B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#992344
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f246b;
/* rgb */ color: rgb(143, 36, 107);
/* oklch */ color: oklch(45.5% 0.160 344.7);
Tailwind
colors: {
  custom: {
    50: '#b36995',
    500: '#8f246b',
    950: '#000000',
  },
}
SCSS
$custom: #8f246b;
$custom-light: #b36995;
$custom-dark: #000000;
JSON
{
  "hex": "#8f246b",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 320.187,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.15974,
    "h": 344.7
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#8F246B
secondary
#55B977
accent
#E37A45
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F246B

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

Preview Lab → · Contrast checker → · Palette generator →

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