#8A4058#8A4058

#8A4058 is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.4% C 0.104 H 1.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A4058
RGBrgb(138, 64, 88)
HSLhsl(341, 37%, 40%)
HSVhsv(341, 54%, 54%)
CMYKcmyk(0%, 53.6%, 36.2%, 45.9%)
CIE-LABlab(37.44, 34.21, 0.78)
CIE-LCHlch(37.44, 34.22, 1.31°)
OKLaboklab(47.41% 0.104 0.0025)
OKLCHoklch(47.41% 0.104 1.4)
XYZxyz(14.0768, 9.7760, 10.3762)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4058 #408A72
analogous
#8A407D #8A4058 #8A4D40
triadic
#8A4058 #588A40 #40588A
tetradic
#8A4058 #7D8A40 #408A72 #4D408A
square
#8A4058 #7D8A40 #408A72 #4D408A
split-complementary
#8A4058 #408A4D #407D8A
monochromatic
#361923 #602D3D #8A4058 #B15674 #C48096

Accessibility & contrast

On white

7.11
#8A4058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A4058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4058
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4058#FFFFFF#000000##FFFFFF
##8A40581.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#5F5D56
Tritanopia (blue-blind)
#943A49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a4058;
/* rgb */ color: rgb(138, 64, 88);
/* oklch */ color: oklch(47.4% 0.104 1.4);
Tailwind
colors: {
  custom: {
    50: '#af7787',
    500: '#8a4058',
    950: '#000000',
  },
}
SCSS
$custom: #8a4058;
$custom-light: #af7787;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4058",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 340.541,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.10405,
    "h": 1.4
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#8A4058
secondary
#77AF9D
accent
#CDA85B
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A4058

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

Preview Lab → · Contrast checker → · Palette generator →

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