#8A1E4F#8A1E4F

#8A1E4F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.148 H 358.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8A1E4F
RGBrgb(138, 30, 79)
HSLhsl(333, 64%, 33%)
HSVhsv(333, 78%, 54%)
CMYKcmyk(0%, 78.3%, 42.8%, 45.9%)
CIE-LABlab(31.57, 48.24, -2.01)
CIE-LCHlch(31.57, 48.28, 357.61°)
OKLaboklab(42.96% 0.1482 -0.0047)
OKLCHoklch(42.96% 0.148 358.2)
XYZxyz(12.3577, 6.8979, 8.0763)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E4F #1E8A59
analogous
#8A1E85 #8A1E4F #8A231E
triadic
#8A1E4F #4F8A1E #1E4F8A
tetradic
#8A1E4F #858A1E #1E8A59 #231E8A
square
#8A1E4F #858A1E #1E8A59 #231E8A
split-complementary
#8A1E4F #1E8A23 #1E858A
monochromatic
#250815 #581332 #8A1E4F #BC296C #D84B8B

Accessibility & contrast

On white

8.83
#8A1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E4F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E4F#FFFFFF#000000##FFFFFF
##8A1E4F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D50
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#960C34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e4f;
/* rgb */ color: rgb(138, 30, 79);
/* oklch */ color: oklch(43.0% 0.148 358.2);
Tailwind
colors: {
  custom: {
    50: '#b16580',
    500: '#8a1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e4f;
$custom-light: #b16580;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e4f",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 332.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.14831,
    "h": 358.2
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#8A1E4F
secondary
#4ABA87
accent
#E79C41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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