#8F226E#8F226E

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

Color values

HEX#8F226E
RGBrgb(143, 34, 110)
HSLhsl(318, 62%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 76.2%, 23.1%, 43.9%)
CIE-LABlab(34.21, 52.04, -17.94)
CIE-LCHlch(34.21, 55.05, 340.98°)
OKLaboklab(45.46% 0.1568 -0.0481)
OKLCHoklch(45.46% 0.164 343)
XYZxyz(14.7147, 8.1110, 15.5395)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F226E #228F43
analogous
#7A228F #8F226E #8F2238
triadic
#8F226E #6E8F22 #226E8F
tetradic
#8F226E #8F7A22 #228F43 #22388F
square
#8F226E #8F7A22 #228F43 #22388F
split-complementary
#8F226E #388F22 #228F7A
monochromatic
#2C0A22 #5E1648 #8F226E #C02E94 #D755AF

Accessibility & contrast

On white

8.01
#8F226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F226E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F226E#FFFFFF#000000##FFFFFF
##8F226E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#4F576C
Tritanopia (blue-blind)
#982245
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f226e;
/* rgb */ color: rgb(143, 34, 110);
/* oklch */ color: oklch(45.5% 0.164 343.0);
Tailwind
colors: {
  custom: {
    50: '#b46997',
    500: '#8f226e',
    950: '#000000',
  },
}
SCSS
$custom: #8f226e;
$custom-light: #b46997;
$custom-dark: #000000;
JSON
{
  "hex": "#8f226e",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 318.165,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4546,
    "c": 0.16395,
    "h": 343
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#8F226E
secondary
#52BA72
accent
#E57443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F226E

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

Preview Lab → · Contrast checker → · Palette generator →

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