#8F226F#8F226F

#8F226F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.165 H 342.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F226F
RGBrgb(143, 34, 111)
HSLhsl(318, 62%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 76.2%, 22.4%, 43.9%)
CIE-LABlab(34.26, 52.18, -18.51)
CIE-LCHlch(34.26, 55.37, 340.47°)
OKLaboklab(45.51% 0.1569 -0.0496)
OKLCHoklch(45.51% 0.165 342.4)
XYZxyz(14.7695, 8.1329, 15.8278)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F226F #228F42
analogous
#79228F #8F226F #8F2238
triadic
#8F226F #6F8F22 #226F8F
tetradic
#8F226F #8F7922 #228F42 #22388F
square
#8F226F #8F7922 #228F42 #22388F
split-complementary
#8F226F #388F22 #228F79
monochromatic
#2C0A22 #5E1649 #8F226F #C02E95 #D755B0

Accessibility & contrast

On white

8.00
#8F226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F226F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F226F#FFFFFF#000000##FFFFFF
##8F226F1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#982346
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f226f;
/* rgb */ color: rgb(143, 34, 111);
/* oklch */ color: oklch(45.5% 0.165 342.4);
Tailwind
colors: {
  custom: {
    50: '#b36998',
    500: '#8f226f',
    950: '#000000',
  },
}
SCSS
$custom: #8f226f;
$custom-light: #b36998;
$custom-dark: #000000;
JSON
{
  "hex": "#8f226f",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 317.615,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.16458,
    "h": 342.4
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#8F226F
secondary
#52BA71
accent
#E57343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F226F

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

Preview Lab → · Contrast checker → · Palette generator →

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