#8F255E#8F255E

#8F255E is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.151 H 352.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8F255E
RGBrgb(143, 37, 94)
HSLhsl(328, 59%, 35%)
HSVhsv(328, 74%, 56%)
CMYKcmyk(0%, 74.1%, 34.3%, 43.9%)
CIE-LABlab(33.93, 48.93, -8.15)
CIE-LCHlch(33.93, 49.60, 350.54°)
OKLaboklab(45.04% 0.1497 -0.021)
OKLCHoklch(45.04% 0.151 352)
XYZxyz(14.0104, 7.9726, 11.3886)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F255E #258F56
analogous
#8B258F #8F255E #8F2529
triadic
#8F255E #5E8F25 #255E8F
tetradic
#8F255E #8F8B25 #258F56 #25298F
square
#8F255E #8F8B25 #258F56 #25298F
split-complementary
#8F255E #298F25 #258F8B
monochromatic
#2E0C1E #5E183E #8F255E #C0327E #D45A9C

Accessibility & contrast

On white

8.09
#8F255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F255E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F255E#FFFFFF#000000##FFFFFF
##8F255E1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#55575C
Tritanopia (blue-blind)
#9A1D3E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f255e;
/* rgb */ color: rgb(143, 37, 94);
/* oklch */ color: oklch(45.0% 0.151 352.0);
Tailwind
colors: {
  custom: {
    50: '#b4698b',
    500: '#8f255e',
    950: '#000000',
  },
}
SCSS
$custom: #8f255e;
$custom-light: #b4698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f255e",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 327.736,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.15121,
    "h": 352
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#8F255E
secondary
#57B984
accent
#E28E46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F255E

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

Preview Lab → · Contrast checker → · Palette generator →

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