#8F256F#8F256F

#8F256F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.161 H 342.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F256F
RGBrgb(143, 37, 111)
HSLhsl(318, 59%, 35%)
HSVhsv(318, 74%, 56%)
CMYKcmyk(0%, 74.1%, 22.4%, 43.9%)
CIE-LABlab(34.62, 51.14, -17.94)
CIE-LCHlch(34.62, 54.20, 340.67°)
OKLaboklab(45.77% 0.1538 -0.0481)
OKLCHoklch(45.77% 0.161 342.6)
XYZxyz(14.8590, 8.3120, 15.8577)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F256F #258F45
analogous
#7A258F #8F256F #8F253A
triadic
#8F256F #6F8F25 #256F8F
tetradic
#8F256F #8F7A25 #258F45 #253A8F
square
#8F256F #8F7A25 #258F45 #253A8F
split-complementary
#8F256F #3A8F25 #258F7A
monochromatic
#2E0C24 #5E1849 #8F256F #C03295 #D45AAF

Accessibility & contrast

On white

7.89
#8F256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F256F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F256F#FFFFFF#000000##FFFFFF
##8F256F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#50586D
Tritanopia (blue-blind)
#982647
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f256f;
/* rgb */ color: rgb(143, 37, 111);
/* oklch */ color: oklch(45.8% 0.161 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36a98',
    500: '#8f256f',
    950: '#000000',
  },
}
SCSS
$custom: #8f256f;
$custom-light: #b36a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8f256f",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 318.113,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.16109,
    "h": 342.6
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#8F256F
secondary
#57B974
accent
#E27546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F256F

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

Preview Lab → · Contrast checker → · Palette generator →

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