#8A4062#8A4062

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

Color values

HEX#8A4062
RGBrgb(138, 64, 98)
HSLhsl(332, 37%, 40%)
HSVhsv(332, 54%, 54%)
CMYKcmyk(0%, 53.6%, 29%, 45.9%)
CIE-LABlab(37.76, 35.57, -5.06)
CIE-LCHlch(37.76, 35.93, 351.91°)
OKLaboklab(47.76% 0.1076 -0.0129)
OKLCHoklch(47.76% 0.108 353.2)
XYZxyz(14.5198, 9.9532, 12.7094)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4062 #408A68
analogous
#8A4087 #8A4062 #8A4340
triadic
#8A4062 #628A40 #40628A
tetradic
#8A4062 #878A40 #408A68 #43408A
square
#8A4062 #878A40 #408A68 #43408A
split-complementary
#8A4062 #408A43 #40878A
monochromatic
#361927 #602D44 #8A4062 #B15680 #C4809F

Accessibility & contrast

On white

7.02
#8A4062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A4062
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4062#FFFFFF#000000##FFFFFF
##8A40621.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4062;
/* rgb */ color: rgb(138, 64, 98);
/* oklch */ color: oklch(47.8% 0.108 353.2);
Tailwind
colors: {
  custom: {
    50: '#ae788e',
    500: '#8a4062',
    950: '#000000',
  },
}
SCSS
$custom: #8a4062;
$custom-light: #ae788e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4062",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 332.432,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.10841,
    "h": 353.2
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#8A4062
secondary
#77AF95
accent
#CD985B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4062

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

Preview Lab → · Contrast checker → · Palette generator →

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