#8A4162#8A4162

#8A4162 is a mid, moderate pink. Relative luminance 0.101; OKLCH L 47.9% C 0.107 H 353.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A4162
RGBrgb(138, 65, 98)
HSLhsl(333, 36%, 40%)
HSVhsv(333, 53%, 54%)
CMYKcmyk(0%, 52.9%, 29%, 45.9%)
CIE-LABlab(37.96, 35.04, -4.75)
CIE-LCHlch(37.96, 35.36, 352.28°)
OKLaboklab(47.91% 0.106 -0.0121)
OKLCHoklch(47.91% 0.107 353.5)
XYZxyz(14.5767, 10.0670, 12.7283)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4162 #418A69
analogous
#8A4187 #8A4162 #8A4541
triadic
#8A4162 #628A41 #41628A
tetradic
#8A4162 #878A41 #418A69 #45418A
square
#8A4162 #878A41 #418A69 #45418A
split-complementary
#8A4162 #418A45 #41878A
monochromatic
#371A27 #602D44 #8A4162 #B05880 #C482A0

Accessibility & contrast

On white

6.97
#8A4162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A4162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4162
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4162#FFFFFF#000000##FFFFFF
##8A41621.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#5E5E60
Tritanopia (blue-blind)
#933D4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4162;
/* rgb */ color: rgb(138, 65, 98);
/* oklch */ color: oklch(47.9% 0.107 353.5);
Tailwind
colors: {
  custom: {
    50: '#ae788e',
    500: '#8a4162',
    950: '#000000',
  },
}
SCSS
$custom: #8a4162;
$custom-light: #ae788e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4162",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 332.877,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.10671,
    "h": 353.5
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#8A4162
secondary
#78AE96
accent
#CC995C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4162

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

Preview Lab → · Contrast checker → · Palette generator →

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