#8F226D#8F226D

#8F226D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 343.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F226D
RGBrgb(143, 34, 109)
HSLhsl(319, 62%, 35%)
HSVhsv(319, 76%, 56%)
CMYKcmyk(0%, 76.2%, 23.8%, 43.9%)
CIE-LABlab(34.17, 51.90, -17.38)
CIE-LCHlch(34.17, 54.74, 341.49°)
OKLaboklab(45.41% 0.1566 -0.0465)
OKLCHoklch(45.41% 0.163 343.5)
XYZxyz(14.6606, 8.0894, 15.2544)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F226D #228F44
analogous
#7B228F #8F226D #8F2236
triadic
#8F226D #6D8F22 #226D8F
tetradic
#8F226D #8F7B22 #228F44 #22368F
square
#8F226D #8F7B22 #228F44 #22368F
split-complementary
#8F226D #368F22 #228F7B
monochromatic
#2C0A22 #5E1647 #8F226D #C02E93 #D755AE

Accessibility & contrast

On white

8.02
#8F226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F226D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F226D#FFFFFF#000000##FFFFFF
##8F226D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#992245
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f226d;
/* rgb */ color: rgb(143, 34, 109);
/* oklch */ color: oklch(45.4% 0.163 343.5);
Tailwind
colors: {
  custom: {
    50: '#b46997',
    500: '#8f226d',
    950: '#000000',
  },
}
SCSS
$custom: #8f226d;
$custom-light: #b46997;
$custom-dark: #000000;
JSON
{
  "hex": "#8f226d",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 318.716,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.16331,
    "h": 343.5
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#8F226D
secondary
#52BA73
accent
#E57643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F226D

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

Preview Lab → · Contrast checker → · Palette generator →

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