#8F2267#8F2267

#8F2267 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.160 H 346.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F2267
RGBrgb(143, 34, 103)
HSLhsl(322, 62%, 35%)
HSVhsv(322, 76%, 56%)
CMYKcmyk(0%, 76.2%, 28%, 43.9%)
CIE-LABlab(33.91, 51.11, -13.95)
CIE-LCHlch(33.91, 52.98, 344.73°)
OKLaboklab(45.14% 0.1553 -0.0369)
OKLCHoklch(45.14% 0.16 346.6)
XYZxyz(14.3486, 7.9646, 13.6110)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2267 #228F4A
analogous
#80228F #8F2267 #8F2231
triadic
#8F2267 #678F22 #22678F
tetradic
#8F2267 #8F8022 #228F4A #22318F
square
#8F2267 #8F8022 #228F4A #22318F
split-complementary
#8F2267 #318F22 #228F80
monochromatic
#2C0A20 #5E1643 #8F2267 #C02E8B #D755A7

Accessibility & contrast

On white

8.10
#8F2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2267
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2267#FFFFFF#000000##FFFFFF
##8F22671.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314469
Deuteranopia (green-blind)
#525665
Tritanopia (blue-blind)
#991F41
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2267;
/* rgb */ color: rgb(143, 34, 103);
/* oklch */ color: oklch(45.1% 0.160 346.6);
Tailwind
colors: {
  custom: {
    50: '#b46892',
    500: '#8f2267',
    950: '#000000',
  },
}
SCSS
$custom: #8f2267;
$custom-light: #b46892;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2267",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 322.018,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.15966,
    "h": 346.6
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#8F2267
secondary
#52BA79
accent
#E57E43
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F2267

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

Preview Lab → · Contrast checker → · Palette generator →

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