#8F225F#8F225F

#8F225F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.155 H 351.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F225F
RGBrgb(143, 34, 95)
HSLhsl(326, 62%, 35%)
HSVhsv(326, 76%, 56%)
CMYKcmyk(0%, 76.2%, 33.6%, 43.9%)
CIE-LABlab(33.59, 50.11, -9.31)
CIE-LCHlch(33.59, 50.96, 349.48°)
OKLaboklab(44.8% 0.1533 -0.0241)
OKLCHoklch(44.8% 0.155 351.1)
XYZxyz(13.9661, 7.8116, 11.5966)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F225F #228F52
analogous
#89228F #8F225F #8F2229
triadic
#8F225F #5F8F22 #225F8F
tetradic
#8F225F #8F8922 #228F52 #22298F
square
#8F225F #8F8922 #228F52 #22298F
split-complementary
#8F225F #298F22 #228F89
monochromatic
#2C0A1D #5E163E #8F225F #C02E80 #D7559D

Accessibility & contrast

On white

8.20
#8F225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F225F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F225F#FFFFFF#000000##FFFFFF
##8F225F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#54565D
Tritanopia (blue-blind)
#9A1A3D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f225f;
/* rgb */ color: rgb(143, 34, 95);
/* oklch */ color: oklch(44.8% 0.155 351.1);
Tailwind
colors: {
  custom: {
    50: '#b4688c',
    500: '#8f225f',
    950: '#000000',
  },
}
SCSS
$custom: #8f225f;
$custom-light: #b4688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f225f",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 326.422,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.448,
    "c": 0.15524,
    "h": 351.1
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#8F225F
secondary
#52BA80
accent
#E58A43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F225F

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

Preview Lab → · Contrast checker → · Palette generator →

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