#8F2242#8F2242

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

Color values

HEX#8F2242
RGBrgb(143, 34, 66)
HSLhsl(342, 62%, 35%)
HSVhsv(342, 76%, 56%)
CMYKcmyk(0%, 76.2%, 53.8%, 43.9%)
CIE-LABlab(32.65, 47.13, 8.21)
CIE-LCHlch(32.65, 47.84, 9.88°)
OKLaboklab(43.81% 0.1434 0.0211)
OKLCHoklch(43.81% 0.145 8.3)
XYZxyz(12.8843, 7.3788, 5.8990)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2242 #228F6F
analogous
#8F2279 #8F2242 #8F3822
triadic
#8F2242 #428F22 #22428F
tetradic
#8F2242 #798F22 #228F6F #38228F
square
#8F2242 #798F22 #228F6F #38228F
split-complementary
#8F2242 #228F38 #22798F
monochromatic
#2C0A14 #5E162B #8F2242 #C02E59 #D7557B

Accessibility & contrast

On white

8.48
#8F2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2242
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2242#FFFFFF#000000##FFFFFF
##8F22421.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#9C052F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2242;
/* rgb */ color: rgb(143, 34, 66);
/* oklch */ color: oklch(43.8% 0.145 8.3);
Tailwind
colors: {
  custom: {
    50: '#b56776',
    500: '#8f2242',
    950: '#000000',
  },
}
SCSS
$custom: #8f2242;
$custom-light: #b56776;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2242",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 342.385,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4381,
    "c": 0.14496,
    "h": 8.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#8F2242
secondary
#52BA9C
accent
#E5B543
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8F2242

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

Preview Lab → · Contrast checker → · Palette generator →

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