#8A4063#8A4063

#8A4063 is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.8% C 0.109 H 352.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A4063
RGBrgb(138, 64, 99)
HSLhsl(332, 37%, 40%)
HSVhsv(332, 54%, 54%)
CMYKcmyk(0%, 53.6%, 28.3%, 45.9%)
CIE-LABlab(37.79, 35.71, -5.63)
CIE-LCHlch(37.79, 36.16, 351.03°)
OKLaboklab(47.79% 0.108 -0.0145)
OKLCHoklch(47.79% 0.109 352.4)
XYZxyz(14.5673, 9.9722, 12.9596)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4063 #408A67
analogous
#8A4088 #8A4063 #8A4240
triadic
#8A4063 #638A40 #40638A
tetradic
#8A4063 #888A40 #408A67 #42408A
square
#8A4063 #888A40 #408A67 #42408A
split-complementary
#8A4063 #408A42 #40888A
monochromatic
#361927 #602D45 #8A4063 #B15681 #C480A0

Accessibility & contrast

On white

7.01
#8A4063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A4063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4063
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4063#FFFFFF#000000##FFFFFF
##8A40631.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495164
Deuteranopia (green-blind)
#5D5E61
Tritanopia (blue-blind)
#933D4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4063;
/* rgb */ color: rgb(138, 64, 99);
/* oklch */ color: oklch(47.8% 0.109 352.4);
Tailwind
colors: {
  custom: {
    50: '#ae788f',
    500: '#8a4063',
    950: '#000000',
  },
}
SCSS
$custom: #8a4063;
$custom-light: #ae788f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4063",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 99
  },
  "hsl": {
    "h": 331.622,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.10895,
    "h": 352.4
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#8A4063
secondary
#77AF94
accent
#CD975B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4063

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

Preview Lab → · Contrast checker → · Palette generator →

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