#8F255C#8F255C

#8F255C is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.150 H 353.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F255C
RGBrgb(143, 37, 92)
HSLhsl(329, 59%, 35%)
HSVhsv(329, 74%, 56%)
CMYKcmyk(0%, 74.1%, 35.7%, 43.9%)
CIE-LABlab(33.85, 48.69, -6.98)
CIE-LCHlch(33.85, 49.19, 351.85°)
OKLaboklab(44.96% 0.1492 -0.0179)
OKLCHoklch(44.96% 0.15 353.2)
XYZxyz(13.9219, 7.9371, 10.9220)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F255C #258F58
analogous
#8D258F #8F255C #8F2527
triadic
#8F255C #5C8F25 #255C8F
tetradic
#8F255C #8F8D25 #258F58 #25278F
square
#8F255C #8F8D25 #258F58 #25278F
split-complementary
#8F255C #278F25 #258F8D
monochromatic
#2E0C1D #5E183D #8F255C #C0327B #D45A9A

Accessibility & contrast

On white

8.12
#8F255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F255C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F255C#FFFFFF#000000##FFFFFF
##8F255C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435D
Deuteranopia (green-blind)
#56575A
Tritanopia (blue-blind)
#9A1C3D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f255c;
/* rgb */ color: rgb(143, 37, 92);
/* oklch */ color: oklch(45.0% 0.150 353.2);
Tailwind
colors: {
  custom: {
    50: '#b4698a',
    500: '#8f255c',
    950: '#000000',
  },
}
SCSS
$custom: #8f255c;
$custom-light: #b4698a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f255c",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 328.868,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.15023,
    "h": 353.2
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#8F255C
secondary
#57B986
accent
#E29146
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F255C

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

Preview Lab → · Contrast checker → · Palette generator →

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