#8F226B#8F226B

#8F226B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 344.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F226B
RGBrgb(143, 34, 107)
HSLhsl(320, 62%, 35%)
HSVhsv(320, 76%, 56%)
CMYKcmyk(0%, 76.2%, 25.2%, 43.9%)
CIE-LABlab(34.08, 51.63, -16.24)
CIE-LCHlch(34.08, 54.13, 342.54°)
OKLaboklab(45.32% 0.1562 -0.0433)
OKLCHoklch(45.32% 0.162 344.5)
XYZxyz(14.5542, 8.0468, 14.6938)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F226B #228F46
analogous
#7D228F #8F226B #8F2234
triadic
#8F226B #6B8F22 #226B8F
tetradic
#8F226B #8F7D22 #228F46 #22348F
square
#8F226B #8F7D22 #228F46 #22348F
split-complementary
#8F226B #348F22 #228F7D
monochromatic
#2C0A21 #5E1646 #8F226B #C02E90 #D755AC

Accessibility & contrast

On white

8.05
#8F226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F226B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F226B#FFFFFF#000000##FFFFFF
##8F226B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#992144
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f226b;
/* rgb */ color: rgb(143, 34, 107);
/* oklch */ color: oklch(45.3% 0.162 344.5);
Tailwind
colors: {
  custom: {
    50: '#b46995',
    500: '#8f226b',
    950: '#000000',
  },
}
SCSS
$custom: #8f226b;
$custom-light: #b46995;
$custom-dark: #000000;
JSON
{
  "hex": "#8f226b",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 319.817,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.16206,
    "h": 344.5
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#8F226B
secondary
#52BA75
accent
#E57843
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F226B

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

Preview Lab → · Contrast checker → · Palette generator →

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