#8A1F68#8A1F68

#8A1F68 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.160 H 343.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8A1F68
RGBrgb(138, 31, 104)
HSLhsl(319, 63%, 33%)
HSVhsv(319, 78%, 54%)
CMYKcmyk(0%, 77.5%, 24.6%, 45.9%)
CIE-LABlab(32.67, 50.92, -16.58)
CIE-LCHlch(32.67, 53.55, 341.96°)
OKLaboklab(44.08% 0.1539 -0.0443)
OKLCHoklch(44.08% 0.16 343.9)
XYZxyz(13.4704, 7.3842, 13.8099)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F68 #1F8A41
analogous
#761F8A #8A1F68 #8A1F33
triadic
#8A1F68 #688A1F #1F688A
tetradic
#8A1F68 #8A761F #1F8A41 #1F338A
square
#8A1F68 #8A761F #1F8A41 #1F338A
split-complementary
#8A1F68 #338A1F #1F8A76
monochromatic
#26091D #581442 #8A1F68 #BC2A8E #D74CAB

Accessibility & contrast

On white

8.48
#8A1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F68
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F68#FFFFFF#000000##FFFFFF
##8A1F681.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C416A
Deuteranopia (green-blind)
#4D5366
Tritanopia (blue-blind)
#931E41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1f68;
/* rgb */ color: rgb(138, 31, 104);
/* oklch */ color: oklch(44.1% 0.160 343.9);
Tailwind
colors: {
  custom: {
    50: '#b06693',
    500: '#8a1f68',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f68;
$custom-light: #b06693;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f68",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 319.065,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.16011,
    "h": 343.9
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#8A1F68
secondary
#4BBA6E
accent
#E67641
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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