#8A1F41#8A1F41

#8A1F41 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.143 H 7.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8A1F41
RGBrgb(138, 31, 65)
HSLhsl(341, 63%, 33%)
HSVhsv(341, 78%, 54%)
CMYKcmyk(0%, 77.5%, 52.9%, 45.9%)
CIE-LABlab(31.27, 46.57, 6.78)
CIE-LCHlch(31.27, 47.06, 8.28°)
OKLaboklab(42.6% 0.142 0.0176)
OKLCHoklch(42.6% 0.143 7)
XYZxyz(11.9264, 6.7666, 5.6781)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F41 #1F8A68
analogous
#8A1F76 #8A1F41 #8A331F
triadic
#8A1F41 #418A1F #1F418A
tetradic
#8A1F41 #768A1F #1F8A68 #331F8A
square
#8A1F41 #768A1F #1F8A68 #331F8A
split-complementary
#8A1F41 #1F8A33 #1F768A
monochromatic
#260912 #581429 #8A1F41 #BC2A59 #D74C78

Accessibility & contrast

On white

8.92
#8A1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F41
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F41#FFFFFF#000000##FFFFFF
##8A1F411.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#97022D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f41;
/* rgb */ color: rgb(138, 31, 65);
/* oklch */ color: oklch(42.6% 0.143 7.0);
Tailwind
colors: {
  custom: {
    50: '#b26575',
    500: '#8a1f41',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f41;
$custom-light: #b26575;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f41",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 340.935,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.14309,
    "h": 7
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#8A1F41
secondary
#4BBA97
accent
#E6B241
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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