#8F2262#8F2262

#8F2262 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 349.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F2262
RGBrgb(143, 34, 98)
HSLhsl(325, 62%, 35%)
HSVhsv(325, 76%, 56%)
CMYKcmyk(0%, 76.2%, 31.5%, 43.9%)
CIE-LABlab(33.70, 50.47, -11.06)
CIE-LCHlch(33.70, 51.67, 347.64°)
OKLaboklab(44.92% 0.1541 -0.0289)
OKLCHoklch(44.92% 0.157 349.4)
XYZxyz(14.1051, 7.8672, 12.3286)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2262 #228F4F
analogous
#86228F #8F2262 #8F222B
triadic
#8F2262 #628F22 #22628F
tetradic
#8F2262 #8F8622 #228F4F #222B8F
square
#8F2262 #8F8622 #228F4F #222B8F
split-complementary
#8F2262 #2B8F22 #228F86
monochromatic
#2C0A1E #5E1640 #8F2262 #C02E84 #D755A1

Accessibility & contrast

On white

8.16
#8F2262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F2262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2262
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2262#FFFFFF#000000##FFFFFF
##8F22621.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334364
Deuteranopia (green-blind)
#535660
Tritanopia (blue-blind)
#9A1C3F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2262;
/* rgb */ color: rgb(143, 34, 98);
/* oklch */ color: oklch(44.9% 0.157 349.4);
Tailwind
colors: {
  custom: {
    50: '#b4688e',
    500: '#8f2262',
    950: '#000000',
  },
}
SCSS
$custom: #8f2262;
$custom-light: #b4688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2262",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 324.771,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.15682,
    "h": 349.4
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#8F2262
secondary
#52BA7D
accent
#E58643
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2262

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

Preview Lab → · Contrast checker → · Palette generator →

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