#8F2255#8F2255

#8F2255 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.151 H 356.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8F2255
RGBrgb(143, 34, 85)
HSLhsl(332, 62%, 35%)
HSVhsv(332, 76%, 56%)
CMYKcmyk(0%, 76.2%, 40.6%, 43.9%)
CIE-LABlab(33.22, 48.96, -3.38)
CIE-LCHlch(33.22, 49.08, 356.05°)
OKLaboklab(44.42% 0.1504 -0.0083)
OKLCHoklch(44.42% 0.151 356.9)
XYZxyz(13.5404, 7.6413, 9.3544)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2255 #228F5C
analogous
#8F228B #8F2255 #8F2622
triadic
#8F2255 #558F22 #22558F
tetradic
#8F2255 #8B8F22 #228F5C #26228F
square
#8F2255 #8B8F22 #228F5C #26228F
split-complementary
#8F2255 #228F26 #228B8F
monochromatic
#2C0A1A #5E1638 #8F2255 #C02E72 #D75592

Accessibility & contrast

On white

8.31
#8F2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2255
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2255#FFFFFF#000000##FFFFFF
##8F22551.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#565653
Tritanopia (blue-blind)
#9B1438
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f2255;
/* rgb */ color: rgb(143, 34, 85);
/* oklch */ color: oklch(44.4% 0.151 356.9);
Tailwind
colors: {
  custom: {
    50: '#b46884',
    500: '#8f2255',
    950: '#000000',
  },
}
SCSS
$custom: #8f2255;
$custom-light: #b46884;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2255",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 331.927,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.15059,
    "h": 356.9
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#8F2255
secondary
#52BA8A
accent
#E59943
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2255

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

Preview Lab → · Contrast checker → · Palette generator →

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