#8A1F70#8A1F70

#8A1F70 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.165 H 339.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1F70
RGBrgb(138, 31, 112)
HSLhsl(315, 63%, 33%)
HSVhsv(315, 78%, 54%)
CMYKcmyk(0%, 77.5%, 18.8%, 45.9%)
CIE-LABlab(33.04, 52.04, -21.11)
CIE-LCHlch(33.04, 56.15, 337.92°)
OKLaboklab(44.47% 0.1552 -0.057)
OKLCHoklch(44.47% 0.165 339.8)
XYZxyz(13.8962, 7.5545, 16.0524)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F70 #1F8A39
analogous
#6E1F8A #8A1F70 #8A1F3B
triadic
#8A1F70 #708A1F #1F708A
tetradic
#8A1F70 #8A6E1F #1F8A39 #1F3B8A
square
#8A1F70 #8A6E1F #1F8A39 #1F3B8A
split-complementary
#8A1F70 #3B8A1F #1F8A6E
monochromatic
#26091F #581447 #8A1F70 #BC2A99 #D74CB5

Accessibility & contrast

On white

8.36
#8A1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F70
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F70#FFFFFF#000000##FFFFFF
##8A1F701.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#922345
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1f70;
/* rgb */ color: rgb(138, 31, 112);
/* oklch */ color: oklch(44.5% 0.165 339.8);
Tailwind
colors: {
  custom: {
    50: '#b06799',
    500: '#8a1f70',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f70;
$custom-light: #b06799;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f70",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 314.579,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.16533,
    "h": 339.8
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#8A1F70
secondary
#4BBA66
accent
#E66A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1F70

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

Preview Lab → · Contrast checker → · Palette generator →

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