#8F255F#8F255F

#8F255F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 351.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F255F
RGBrgb(143, 37, 95)
HSLhsl(327, 59%, 35%)
HSVhsv(327, 74%, 56%)
CMYKcmyk(0%, 74.1%, 33.6%, 43.9%)
CIE-LABlab(33.96, 49.05, -8.74)
CIE-LCHlch(33.96, 49.82, 349.90°)
OKLaboklab(45.08% 0.15 -0.0226)
OKLCHoklch(45.08% 0.152 351.4)
XYZxyz(14.0556, 7.9906, 11.6264)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F255F #258F55
analogous
#8A258F #8F255F #8F252A
triadic
#8F255F #5F8F25 #255F8F
tetradic
#8F255F #8F8A25 #258F55 #252A8F
square
#8F255F #8F8A25 #258F55 #252A8F
split-complementary
#8F255F #2A8F25 #258F8A
monochromatic
#2E0C1E #5E183F #8F255F #C0327F #D45A9D

Accessibility & contrast

On white

8.08
#8F255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F255F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F255F#FFFFFF#000000##FFFFFF
##8F255F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f255f;
/* rgb */ color: rgb(143, 37, 95);
/* oklch */ color: oklch(45.1% 0.152 351.4);
Tailwind
colors: {
  custom: {
    50: '#b4698c',
    500: '#8f255f',
    950: '#000000',
  },
}
SCSS
$custom: #8f255f;
$custom-light: #b4698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f255f",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 327.17,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.15172,
    "h": 351.4
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#8F255F
secondary
#57B983
accent
#E28D46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F255F

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

Preview Lab → · Contrast checker → · Palette generator →

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