#8F2048#8F2048

#8F2048 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.148 H 4.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8F2048
RGBrgb(143, 32, 72)
HSLhsl(338, 63%, 34%)
HSVhsv(338, 78%, 56%)
CMYKcmyk(0%, 77.6%, 49.7%, 43.9%)
CIE-LABlab(32.57, 48.34, 4.16)
CIE-LCHlch(32.57, 48.52, 4.92°)
OKLaboklab(43.8% 0.148 0.0111)
OKLCHoklch(43.8% 0.148 4.3)
XYZxyz(13.0150, 7.3423, 6.8615)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2048 #208F67
analogous
#8F2080 #8F2048 #8F2F20
triadic
#8F2048 #488F20 #20488F
tetradic
#8F2048 #808F20 #208F67 #2F208F
square
#8F2048 #808F20 #208F67 #2F208F
split-complementary
#8F2048 #208F2F #20808F
monochromatic
#2B0A16 #5D152F #8F2048 #C12B61 #D85182

Accessibility & contrast

On white

8.51
#8F2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2048
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2048#FFFFFF#000000##FFFFFF
##8F20481.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#9C0531
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2048;
/* rgb */ color: rgb(143, 32, 72);
/* oklch */ color: oklch(43.8% 0.148 4.3);
Tailwind
colors: {
  custom: {
    50: '#b5677a',
    500: '#8f2048',
    950: '#000000',
  },
}
SCSS
$custom: #8f2048;
$custom-light: #b5677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2048",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 338.378,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.14838,
    "h": 4.3
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#8F2048
secondary
#4FBB94
accent
#E6AB41
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F2048

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

Preview Lab → · Contrast checker → · Palette generator →

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