#8F256D#8F256D

#8F256D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 343.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F256D
RGBrgb(143, 37, 109)
HSLhsl(319, 59%, 35%)
HSVhsv(319, 74%, 56%)
CMYKcmyk(0%, 74.1%, 23.8%, 43.9%)
CIE-LABlab(34.54, 50.87, -16.81)
CIE-LCHlch(34.54, 53.57, 341.71°)
OKLaboklab(45.68% 0.1534 -0.0449)
OKLCHoklch(45.68% 0.16 343.7)
XYZxyz(14.7501, 8.2684, 15.2842)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F256D #258F47
analogous
#7C258F #8F256D #8F2538
triadic
#8F256D #6D8F25 #256D8F
tetradic
#8F256D #8F7C25 #258F47 #25388F
square
#8F256D #8F7C25 #258F47 #25388F
split-complementary
#8F256D #388F25 #258F7C
monochromatic
#2E0C23 #5E1848 #8F256D #C03292 #D45AAD

Accessibility & contrast

On white

7.91
#8F256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F256D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F256D#FFFFFF#000000##FFFFFF
##8F256D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#982546
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f256d;
/* rgb */ color: rgb(143, 37, 109);
/* oklch */ color: oklch(45.7% 0.160 343.7);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8f256d',
    950: '#000000',
  },
}
SCSS
$custom: #8f256d;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f256d",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 319.245,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.15981,
    "h": 343.7
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#8F256D
secondary
#57B976
accent
#E27846
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F256D

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

Preview Lab → · Contrast checker → · Palette generator →

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