#8A1C45#8A1C45

#8A1C45 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.147 H 4.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8A1C45
RGBrgb(138, 28, 69)
HSLhsl(338, 66%, 33%)
HSVhsv(338, 80%, 54%)
CMYKcmyk(0%, 79.7%, 50%, 45.9%)
CIE-LABlab(31.03, 47.91, 3.79)
CIE-LCHlch(31.03, 48.06, 4.53°)
OKLaboklab(42.46% 0.1467 0.0102)
OKLCHoklch(42.46% 0.147 4)
XYZxyz(11.9717, 6.6651, 6.2852)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C45 #1C8A61
analogous
#8A1C7C #8A1C45 #8A2A1C
triadic
#8A1C45 #458A1C #1C458A
tetradic
#8A1C45 #7C8A1C #1C8A61 #2A1C8A
square
#8A1C45 #7C8A1C #1C8A61 #2A1C8A
split-complementary
#8A1C45 #1C8A2A #1C7C8A
monochromatic
#240712 #57122C #8A1C45 #BD265E #DA477E

Accessibility & contrast

On white

9.00
#8A1C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C45
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C45#FFFFFF#000000##FFFFFF
##8A1C451.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c45;
/* rgb */ color: rgb(138, 28, 69);
/* oklch */ color: oklch(42.5% 0.147 4.0);
Tailwind
colors: {
  custom: {
    50: '#b26478',
    500: '#8a1c45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c45;
$custom-light: #b26478;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c45",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 337.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.14709,
    "h": 4
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#8A1C45
secondary
#46BB90
accent
#E9AA3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C45

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

Preview Lab → · Contrast checker → · Palette generator →

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