#8A4061#8A4061

#8A4061 is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.7% C 0.108 H 353.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A4061
RGBrgb(138, 64, 97)
HSLhsl(333, 37%, 40%)
HSVhsv(333, 54%, 54%)
CMYKcmyk(0%, 53.6%, 29.7%, 45.9%)
CIE-LABlab(37.72, 35.43, -4.48)
CIE-LCHlch(37.72, 35.71, 352.80°)
OKLaboklab(47.72% 0.1073 -0.0114)
OKLCHoklch(47.72% 0.108 353.9)
XYZxyz(14.4729, 9.9344, 12.4623)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4061 #408A69
analogous
#8A4086 #8A4061 #8A4440
triadic
#8A4061 #618A40 #40618A
tetradic
#8A4061 #868A40 #408A69 #44408A
square
#8A4061 #868A40 #408A69 #44408A
split-complementary
#8A4061 #408A44 #40868A
monochromatic
#361926 #602D44 #8A4061 #B1567F #C4809F

Accessibility & contrast

On white

7.03
#8A4061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A4061
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4061#FFFFFF#000000##FFFFFF
##8A40611.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5162
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#933C4C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4061;
/* rgb */ color: rgb(138, 64, 97);
/* oklch */ color: oklch(47.7% 0.108 353.9);
Tailwind
colors: {
  custom: {
    50: '#af788d',
    500: '#8a4061',
    950: '#000000',
  },
}
SCSS
$custom: #8a4061;
$custom-light: #af788d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4061",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 97
  },
  "hsl": {
    "h": 333.243,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.1079,
    "h": 353.9
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#8A4061
secondary
#77AF96
accent
#CD9A5B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4061

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

Preview Lab → · Contrast checker → · Palette generator →

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