#8A1340#8A1340

#8A1340 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.154 H 5.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#8A1340
RGBrgb(138, 19, 64)
HSLhsl(337, 76%, 31%)
HSVhsv(337, 86%, 54%)
CMYKcmyk(0%, 86.2%, 53.6%, 45.9%)
CIE-LABlab(30.01, 49.97, 5.66)
CIE-LCHlch(30.01, 50.29, 6.47°)
OKLaboklab(41.67% 0.1529 0.0148)
OKLCHoklch(41.67% 0.154 5.5)
XYZxyz(11.6406, 6.2409, 5.4412)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1340 #138A5D
analogous
#8A137B #8A1340 #8A2113
triadic
#8A1340 #408A13 #13408A
tetradic
#8A1340 #7B8A13 #138A5D #21138A
square
#8A1340 #7B8A13 #138A5D #21138A
split-complementary
#8A1340 #138A21 #137B8A
monochromatic
#1E040E #540C27 #8A1340 #C01A59 #E33476

Accessibility & contrast

On white

9.34
#8A1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1340
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1340#FFFFFF#000000##FFFFFF
##8A13401.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1340;
/* rgb */ color: rgb(138, 19, 64);
/* oklch */ color: oklch(41.7% 0.154 5.5);
Tailwind
colors: {
  custom: {
    50: '#b26174',
    500: '#8a1340',
    950: '#000000',
  },
}
SCSS
$custom: #8a1340;
$custom-light: #b26174;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1340",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 337.311,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.1536,
    "h": 5.5
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#8A1340
secondary
#3ABE8C
accent
#F2AB35
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1340

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

Preview Lab → · Contrast checker → · Palette generator →

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