#8A123F#8A123F

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

Color values

HEX#8A123F
RGBrgb(138, 18, 63)
HSLhsl(338, 77%, 31%)
HSVhsv(338, 87%, 54%)
CMYKcmyk(0%, 87%, 54.3%, 45.9%)
CIE-LABlab(29.90, 50.13, 6.18)
CIE-LCHlch(29.90, 50.51, 7.03°)
OKLaboklab(41.58% 0.1533 0.016)
OKLCHoklch(41.58% 0.154 6)
XYZxyz(11.5959, 6.1965, 5.2871)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A123F #128A5D
analogous
#8A127B #8A123F #8A2112
triadic
#8A123F #3F8A12 #123F8A
tetradic
#8A123F #7B8A12 #128A5D #21128A
square
#8A123F #7B8A12 #128A5D #21128A
split-complementary
#8A123F #128A21 #127B8A
monochromatic
#1E040E #540B26 #8A123F #C01958 #E43275

Accessibility & contrast

On white

9.38
#8A123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A123F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A123F#FFFFFF#000000##FFFFFF
##8A123F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#534F3C
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a123f;
/* rgb */ color: rgb(138, 18, 63);
/* oklch */ color: oklch(41.6% 0.154 6.0);
Tailwind
colors: {
  custom: {
    50: '#b26173',
    500: '#8a123f',
    950: '#000000',
  },
}
SCSS
$custom: #8a123f;
$custom-light: #b26173;
$custom-dark: #000000;
JSON
{
  "hex": "#8a123f",
  "rgb": {
    "r": 138,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 337.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.1541,
    "h": 6
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#8A123F
secondary
#39BF8D
accent
#F3AC34
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A123F

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

Preview Lab → · Contrast checker → · Palette generator →

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