#8C1748#8C1748

#8C1748 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.154 H 2.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8C1748
RGBrgb(140, 23, 72)
HSLhsl(335, 72%, 32%)
HSVhsv(335, 84%, 55%)
CMYKcmyk(0%, 83.6%, 48.6%, 45.1%)
CIE-LABlab(31.01, 50.20, 1.84)
CIE-LCHlch(31.01, 50.24, 2.10°)
OKLaboklab(42.55% 0.1542 0.0053)
OKLCHoklch(42.55% 0.154 2)
XYZxyz(12.2924, 6.6578, 6.7674)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1748 #178C5B
analogous
#8C1783 #8C1748 #8C2117
triadic
#8C1748 #488C17 #17488C
tetradic
#8C1748 #838C17 #178C5B #21178C
square
#8C1748 #838C17 #178C5B #21178C
split-complementary
#8C1748 #178C21 #17838C
monochromatic
#230612 #570E2D #8C1748 #C12063 #DF3E82

Accessibility & contrast

On white

9.01
#8C1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8C1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1748
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1748#FFFFFF#000000##FFFFFF
##8C17481.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#99002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1748;
/* rgb */ color: rgb(140, 23, 72);
/* oklch */ color: oklch(42.5% 0.154 2.0);
Tailwind
colors: {
  custom: {
    50: '#b3637a',
    500: '#8c1748',
    950: '#000000',
  },
}
SCSS
$custom: #8c1748;
$custom-light: #b3637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1748",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 334.872,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.15428,
    "h": 2
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#8C1748
secondary
#3FBF8A
accent
#EFA339
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C1748

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

Preview Lab → · Contrast checker → · Palette generator →

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