#8A1374#8A1374

#8A1374 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.9% C 0.179 H 337.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8A1374
RGBrgb(138, 19, 116)
HSLhsl(311, 76%, 31%)
HSVhsv(311, 86%, 54%)
CMYKcmyk(0%, 86.2%, 15.9%, 45.9%)
CIE-LABlab(32.10, 55.87, -25.11)
CIE-LCHlch(32.10, 61.25, 335.80°)
OKLaboklab(43.86% 0.1655 -0.0684)
OKLCHoklch(43.86% 0.179 337.5)
XYZxyz(13.8668, 7.1314, 17.1658)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1374 #138A29
analogous
#64138A #8A1374 #8A1339
triadic
#8A1374 #748A13 #13748A
tetradic
#8A1374 #8A6413 #138A29 #13398A
square
#8A1374 #8A6413 #138A29 #13398A
split-complementary
#8A1374 #398A13 #138A64
monochromatic
#1E041A #540C47 #8A1374 #C01AA1 #E334C3

Accessibility & contrast

On white

8.66
#8A1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1374
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1374#FFFFFF#000000##FFFFFF
##8A13741.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#921C45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1374;
/* rgb */ color: rgb(138, 19, 116);
/* oklch */ color: oklch(43.9% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#b0639c',
    500: '#8a1374',
    950: '#000000',
  },
}
SCSS
$custom: #8a1374;
$custom-light: #b0639c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1374",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 311.092,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.17903,
    "h": 337.5
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#8A1374
secondary
#3ABE53
accent
#F25835
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1374

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

Preview Lab → · Contrast checker → · Palette generator →

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