#8F256C#8F256C

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

Color values

HEX#8F256C
RGBrgb(143, 37, 108)
HSLhsl(320, 59%, 35%)
HSVhsv(320, 74%, 56%)
CMYKcmyk(0%, 74.1%, 24.5%, 43.9%)
CIE-LABlab(34.49, 50.73, -16.24)
CIE-LCHlch(34.49, 53.27, 342.24°)
OKLaboklab(45.63% 0.1532 -0.0433)
OKLCHoklch(45.63% 0.159 344.2)
XYZxyz(14.6966, 8.2470, 15.0023)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F256C #258F48
analogous
#7D258F #8F256C #8F2537
triadic
#8F256C #6C8F25 #256C8F
tetradic
#8F256C #8F7D25 #258F48 #25378F
square
#8F256C #8F7D25 #258F48 #25378F
split-complementary
#8F256C #378F25 #258F7D
monochromatic
#2E0C23 #5E1847 #8F256C #C03291 #D45AAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F256C#FFFFFF#000000##FFFFFF
##8F256C1.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)
#31466E
Deuteranopia (green-blind)
#51586A
Tritanopia (blue-blind)
#992445
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f256c;
/* rgb */ color: rgb(143, 37, 108);
/* oklch */ color: oklch(45.6% 0.159 344.2);
Tailwind
colors: {
  custom: {
    50: '#b36a96',
    500: '#8f256c',
    950: '#000000',
  },
}
SCSS
$custom: #8f256c;
$custom-light: #b36a96;
$custom-dark: #000000;
JSON
{
  "hex": "#8f256c",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 319.811,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.15918,
    "h": 344.2
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#8F256C
secondary
#57B977
accent
#E27946
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F256C

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

Preview Lab → · Contrast checker → · Palette generator →

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