#8F2251#8F2251

#8F2251 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.149 H 359.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8F2251
RGBrgb(143, 34, 81)
HSLhsl(334, 62%, 35%)
HSVhsv(334, 76%, 56%)
CMYKcmyk(0%, 76.2%, 43.4%, 43.9%)
CIE-LABlab(33.09, 48.54, -0.97)
CIE-LCHlch(33.09, 48.55, 358.85°)
OKLaboklab(44.27% 0.149 -0.002)
OKLCHoklch(44.27% 0.149 359.2)
XYZxyz(13.3859, 7.5795, 8.5411)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2251 #228F60
analogous
#8F2288 #8F2251 #8F2922
triadic
#8F2251 #518F22 #22518F
tetradic
#8F2251 #888F22 #228F60 #29228F
square
#8F2251 #888F22 #228F60 #29228F
split-complementary
#8F2251 #228F29 #22888F
monochromatic
#2C0A19 #5E1635 #8F2251 #C02E6D #D7558D

Accessibility & contrast

On white

8.35
#8F2251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F2251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2251
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2251#FFFFFF#000000##FFFFFF
##8F22511.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#57554E
Tritanopia (blue-blind)
#9B1136
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f2251;
/* rgb */ color: rgb(143, 34, 81);
/* oklch */ color: oklch(44.3% 0.149 359.2);
Tailwind
colors: {
  custom: {
    50: '#b56881',
    500: '#8f2251',
    950: '#000000',
  },
}
SCSS
$custom: #8f2251;
$custom-light: #b56881;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2251",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 334.128,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.14904,
    "h": 359.2
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#8F2251
secondary
#52BA8E
accent
#E59F43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2251

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

Preview Lab → · Contrast checker → · Palette generator →

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