#8A1F65#8A1F65

#8A1F65 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.158 H 345.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A1F65
RGBrgb(138, 31, 101)
HSLhsl(321, 63%, 33%)
HSVhsv(321, 78%, 54%)
CMYKcmyk(0%, 77.5%, 26.8%, 45.9%)
CIE-LABlab(32.53, 50.52, -14.86)
CIE-LCHlch(32.53, 52.66, 343.61°)
OKLaboklab(43.94% 0.1533 -0.0395)
OKLCHoklch(43.94% 0.158 345.6)
XYZxyz(13.3208, 7.3243, 13.0216)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F65 #1F8A44
analogous
#791F8A #8A1F65 #8A1F2F
triadic
#8A1F65 #658A1F #1F658A
tetradic
#8A1F65 #8A791F #1F8A44 #1F2F8A
square
#8A1F65 #8A791F #1F8A44 #1F2F8A
split-complementary
#8A1F65 #2F8A1F #1F8A79
monochromatic
#26091C #581440 #8A1F65 #BC2A8A #D74CA7

Accessibility & contrast

On white

8.52
#8A1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F65
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F65#FFFFFF#000000##FFFFFF
##8A1F651.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4167
Deuteranopia (green-blind)
#4E5363
Tritanopia (blue-blind)
#941D3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1f65;
/* rgb */ color: rgb(138, 31, 101);
/* oklch */ color: oklch(43.9% 0.158 345.6);
Tailwind
colors: {
  custom: {
    50: '#b06691',
    500: '#8a1f65',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f65;
$custom-light: #b06691;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f65",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 320.748,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.15826,
    "h": 345.6
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#8A1F65
secondary
#4BBA71
accent
#E67A41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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