#8F2148#8F2148

#8F2148 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 4.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2148
RGBrgb(143, 33, 72)
HSLhsl(339, 63%, 35%)
HSVhsv(339, 77%, 56%)
CMYKcmyk(0%, 76.9%, 49.7%, 43.9%)
CIE-LABlab(32.69, 48.01, 4.33)
CIE-LCHlch(32.69, 48.20, 5.16°)
OKLaboklab(43.89% 0.1469 0.0115)
OKLCHoklch(43.89% 0.147 4.5)
XYZxyz(13.0424, 7.3970, 6.8706)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2148 #218F68
analogous
#8F217F #8F2148 #8F3121
triadic
#8F2148 #488F21 #21488F
tetradic
#8F2148 #7F8F21 #218F68 #31218F
square
#8F2148 #7F8F21 #218F68 #31218F
split-complementary
#8F2148 #218F31 #217F8F
monochromatic
#2C0A16 #5D162F #8F2148 #C12C61 #D75382

Accessibility & contrast

On white

8.47
#8F2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2148
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2148#FFFFFF#000000##FFFFFF
##8F21481.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#595545
Tritanopia (blue-blind)
#9C0732
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2148;
/* rgb */ color: rgb(143, 33, 72);
/* oklch */ color: oklch(43.9% 0.147 4.5);
Tailwind
colors: {
  custom: {
    50: '#b5677a',
    500: '#8f2148',
    950: '#000000',
  },
}
SCSS
$custom: #8f2148;
$custom-light: #b5677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2148",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 338.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.14732,
    "h": 4.5
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#8F2148
secondary
#51BB95
accent
#E6AC42
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F2148

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

Preview Lab → · Contrast checker → · Palette generator →

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