#8F256A#8F256A

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

Color values

HEX#8F256A
RGBrgb(143, 37, 106)
HSLhsl(321, 59%, 35%)
HSVhsv(321, 74%, 56%)
CMYKcmyk(0%, 74.1%, 25.9%, 43.9%)
CIE-LABlab(34.41, 50.46, -15.10)
CIE-LCHlch(34.41, 52.67, 343.34°)
OKLaboklab(45.54% 0.1528 -0.0401)
OKLCHoklch(45.54% 0.158 345.3)
XYZxyz(14.5914, 8.2049, 14.4482)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F256A #258F4A
analogous
#7F258F #8F256A #8F2535
triadic
#8F256A #6A8F25 #256A8F
tetradic
#8F256A #8F7F25 #258F4A #25358F
square
#8F256A #8F7F25 #258F4A #25358F
split-complementary
#8F256A #358F25 #258F7F
monochromatic
#2E0C22 #5E1846 #8F256A #C0328E #D45AAA

Accessibility & contrast

On white

7.95
#8F256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F256A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F256A#FFFFFF#000000##FFFFFF
##8F256A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456C
Deuteranopia (green-blind)
#525768
Tritanopia (blue-blind)
#992344
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f256a;
/* rgb */ color: rgb(143, 37, 106);
/* oklch */ color: oklch(45.5% 0.158 345.3);
Tailwind
colors: {
  custom: {
    50: '#b36a94',
    500: '#8f256a',
    950: '#000000',
  },
}
SCSS
$custom: #8f256a;
$custom-light: #b36a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8f256a",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 320.943,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.15794,
    "h": 345.3
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#8F256A
secondary
#57B979
accent
#E27C46
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F256A

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

Preview Lab → · Contrast checker → · Palette generator →

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