#8A1F66#8A1F66

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

Color values

HEX#8A1F66
RGBrgb(138, 31, 102)
HSLhsl(320, 63%, 33%)
HSVhsv(320, 78%, 54%)
CMYKcmyk(0%, 77.5%, 26.1%, 45.9%)
CIE-LABlab(32.58, 50.65, -15.43)
CIE-LCHlch(32.58, 52.95, 343.05°)
OKLaboklab(43.98% 0.1535 -0.0411)
OKLCHoklch(43.98% 0.159 345)
XYZxyz(13.3701, 7.3440, 13.2812)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F66 #1F8A43
analogous
#781F8A #8A1F66 #8A1F30
triadic
#8A1F66 #668A1F #1F668A
tetradic
#8A1F66 #8A781F #1F8A43 #1F308A
square
#8A1F66 #8A781F #1F8A43 #1F308A
split-complementary
#8A1F66 #308A1F #1F8A78
monochromatic
#26091C #581441 #8A1F66 #BC2A8B #D74CA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F66#FFFFFF#000000##FFFFFF
##8A1F661.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)
#2D4168
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#941D40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1f66;
/* rgb */ color: rgb(138, 31, 102);
/* oklch */ color: oklch(44.0% 0.159 345.0);
Tailwind
colors: {
  custom: {
    50: '#b06691',
    500: '#8a1f66',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f66;
$custom-light: #b06691;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f66",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 320.187,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.15886,
    "h": 345
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#8A1F66
secondary
#4BBA70
accent
#E67941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #8A1F66

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

Preview Lab → · Contrast checker → · Palette generator →

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