#8A1F43#8A1F43

#8A1F43 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 5.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8A1F43
RGBrgb(138, 31, 67)
HSLhsl(340, 63%, 33%)
HSVhsv(340, 78%, 54%)
CMYKcmyk(0%, 77.5%, 51.4%, 45.9%)
CIE-LABlab(31.32, 46.75, 5.53)
CIE-LCHlch(31.32, 47.07, 6.75°)
OKLaboklab(42.66% 0.1428 0.0145)
OKLCHoklch(42.66% 0.144 5.8)
XYZxyz(11.9854, 6.7901, 5.9886)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F43 #1F8A66
analogous
#8A1F78 #8A1F43 #8A301F
triadic
#8A1F43 #438A1F #1F438A
tetradic
#8A1F43 #788A1F #1F8A66 #301F8A
square
#8A1F43 #788A1F #1F8A66 #301F8A
split-complementary
#8A1F43 #1F8A30 #1F788A
monochromatic
#260912 #58142B #8A1F43 #BC2A5B #D74C7B

Accessibility & contrast

On white

8.91
#8A1F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F43
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F43#FFFFFF#000000##FFFFFF
##8A1F431.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C44
Deuteranopia (green-blind)
#565140
Tritanopia (blue-blind)
#97042E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f43;
/* rgb */ color: rgb(138, 31, 67);
/* oklch */ color: oklch(42.7% 0.144 5.8);
Tailwind
colors: {
  custom: {
    50: '#b26576',
    500: '#8a1f43',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f43;
$custom-light: #b26576;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f43",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 339.813,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.14353,
    "h": 5.8
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#8A1F43
secondary
#4BBA94
accent
#E6AF41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F43

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

Preview Lab → · Contrast checker → · Palette generator →

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