#8F2240#8F2240

#8F2240 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.145 H 9.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8F2240
RGBrgb(143, 34, 64)
HSLhsl(343, 62%, 35%)
HSVhsv(343, 76%, 56%)
CMYKcmyk(0%, 76.2%, 55.2%, 43.9%)
CIE-LABlab(32.60, 46.97, 9.45)
CIE-LCHlch(32.60, 47.91, 11.38°)
OKLaboklab(43.76% 0.1426 0.024)
OKLCHoklch(43.76% 0.145 9.6)
XYZxyz(12.8263, 7.3557, 5.5939)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2240 #228F71
analogous
#8F2277 #8F2240 #8F3A22
triadic
#8F2240 #408F22 #22408F
tetradic
#8F2240 #778F22 #228F71 #3A228F
square
#8F2240 #778F22 #228F71 #3A228F
split-complementary
#8F2240 #228F3A #22778F
monochromatic
#2C0A14 #5E162A #8F2240 #C02E56 #D75579

Accessibility & contrast

On white

8.50
#8F2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2240
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2240#FFFFFF#000000##FFFFFF
##8F22401.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#5A553D
Tritanopia (blue-blind)
#9C032F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2240;
/* rgb */ color: rgb(143, 34, 64);
/* oklch */ color: oklch(43.8% 0.145 9.6);
Tailwind
colors: {
  custom: {
    50: '#b66774',
    500: '#8f2240',
    950: '#000000',
  },
}
SCSS
$custom: #8f2240;
$custom-light: #b66774;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2240",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 343.486,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.14462,
    "h": 9.6
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#8F2240
secondary
#52BA9E
accent
#E5B843
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8F2240

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

Preview Lab → · Contrast checker → · Palette generator →

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