#8F2268#8F2268

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

Color values

HEX#8F2268
RGBrgb(143, 34, 104)
HSLhsl(321, 62%, 35%)
HSVhsv(321, 76%, 56%)
CMYKcmyk(0%, 76.2%, 27.3%, 43.9%)
CIE-LABlab(33.95, 51.24, -14.53)
CIE-LCHlch(33.95, 53.26, 344.17°)
OKLaboklab(45.18% 0.1556 -0.0385)
OKLCHoklch(45.18% 0.16 346.1)
XYZxyz(14.3991, 7.9848, 13.8769)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2268 #228F49
analogous
#80228F #8F2268 #8F2231
triadic
#8F2268 #688F22 #22688F
tetradic
#8F2268 #8F8022 #228F49 #22318F
square
#8F2268 #8F8022 #228F49 #22318F
split-complementary
#8F2268 #318F22 #228F80
monochromatic
#2C0A20 #5E1644 #8F2268 #C02E8C #D755A8

Accessibility & contrast

On white

8.09
#8F2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2268
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2268#FFFFFF#000000##FFFFFF
##8F22681.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31446A
Deuteranopia (green-blind)
#515766
Tritanopia (blue-blind)
#991F42
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2268;
/* rgb */ color: rgb(143, 34, 104);
/* oklch */ color: oklch(45.2% 0.160 346.1);
Tailwind
colors: {
  custom: {
    50: '#b46893',
    500: '#8f2268',
    950: '#000000',
  },
}
SCSS
$custom: #8f2268;
$custom-light: #b46893;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2268",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 321.468,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.16025,
    "h": 346.1
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#8F2268
secondary
#52BA78
accent
#E57D43
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F2268

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

Preview Lab → · Contrast checker → · Palette generator →

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