#8A4168#8A4168

#8A4168 is a mid, moderate pink. Relative luminance 0.102; OKLCH L 48.1% C 0.110 H 348.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A4168
RGBrgb(138, 65, 104)
HSLhsl(328, 36%, 40%)
HSVhsv(328, 53%, 54%)
CMYKcmyk(0%, 52.9%, 24.6%, 45.9%)
CIE-LABlab(38.17, 35.92, -8.21)
CIE-LCHlch(38.17, 36.85, 347.13°)
OKLaboklab(48.14% 0.108 -0.0214)
OKLCHoklch(48.14% 0.11 348.8)
XYZxyz(14.8707, 10.1846, 14.2766)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4168 #418A63
analogous
#88418A #8A4168 #8A4143
triadic
#8A4168 #688A41 #41688A
tetradic
#8A4168 #8A8841 #418A63 #41438A
square
#8A4168 #8A8841 #418A63 #41438A
split-complementary
#8A4168 #438A41 #418A88
monochromatic
#371A29 #602D49 #8A4168 #B05887 #C482A5

Accessibility & contrast

On white

6.92
#8A4168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A4168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4168
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4168#FFFFFF#000000##FFFFFF
##8A41681.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495269
Deuteranopia (green-blind)
#5C5F66
Tritanopia (blue-blind)
#933F50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a4168;
/* rgb */ color: rgb(138, 65, 104);
/* oklch */ color: oklch(48.1% 0.110 348.8);
Tailwind
colors: {
  custom: {
    50: '#ae7893',
    500: '#8a4168',
    950: '#000000',
  },
}
SCSS
$custom: #8a4168;
$custom-light: #ae7893;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4168",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 104
  },
  "hsl": {
    "h": 327.945,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.11013,
    "h": 348.8
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#8A4168
secondary
#78AE92
accent
#CC905C
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A4168

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

Preview Lab → · Contrast checker → · Palette generator →

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