#8A123E#8A123E

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

Color values

HEX#8A123E
RGBrgb(138, 18, 62)
HSLhsl(338, 77%, 31%)
HSVhsv(338, 87%, 54%)
CMYKcmyk(0%, 87%, 55.1%, 45.9%)
CIE-LABlab(29.88, 50.05, 6.81)
CIE-LCHlch(29.88, 50.51, 7.75°)
OKLaboklab(41.55% 0.1529 0.0176)
OKLCHoklch(41.55% 0.154 6.5)
XYZxyz(11.5682, 6.1854, 5.1413)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A123E #128A5E
analogous
#8A127A #8A123E #8A2212
triadic
#8A123E #3E8A12 #123E8A
tetradic
#8A123E #7A8A12 #128A5E #22128A
square
#8A123E #7A8A12 #128A5E #22128A
split-complementary
#8A123E #128A22 #127A8A
monochromatic
#1E040D #540B26 #8A123E #C01956 #E43273

Accessibility & contrast

On white

9.39
#8A123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A123E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A123E#FFFFFF#000000##FFFFFF
##8A123E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373F
Deuteranopia (green-blind)
#544F3B
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a123e;
/* rgb */ color: rgb(138, 18, 62);
/* oklch */ color: oklch(41.5% 0.154 6.5);
Tailwind
colors: {
  custom: {
    50: '#b26172',
    500: '#8a123e',
    950: '#000000',
  },
}
SCSS
$custom: #8a123e;
$custom-light: #b26172;
$custom-dark: #000000;
JSON
{
  "hex": "#8a123e",
  "rgb": {
    "r": 138,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 338,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.15388,
    "h": 6.5
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#8A123E
secondary
#39BF8E
accent
#F3AD34
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A123E

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

Preview Lab → · Contrast checker → · Palette generator →

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