#8A3F56#8A3F56

#8A3F56 is a mid, moderate pink. Relative luminance 0.096; OKLCH L 47.2% C 0.105 H 2.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3F56
RGBrgb(138, 63, 86)
HSLhsl(342, 37%, 39%)
HSVhsv(342, 54%, 54%)
CMYKcmyk(0%, 54.3%, 37.7%, 45.9%)
CIE-LABlab(37.17, 34.48, 1.66)
CIE-LCHlch(37.17, 34.52, 2.76°)
OKLaboklab(47.19% 0.1049 0.0048)
OKLCHoklch(47.19% 0.105 2.6)
XYZxyz(13.9392, 9.6316, 9.9273)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F56 #3F8A73
analogous
#8A3F7C #8A3F56 #8A4E3F
triadic
#8A3F56 #568A3F #3F568A
tetradic
#8A3F56 #7C8A3F #3F8A73 #4E3F8A
square
#8A3F56 #7C8A3F #3F8A73 #4E3F8A
split-complementary
#8A3F56 #3F8A4E #3F7C8A
monochromatic
#361922 #602C3C #8A3F56 #B15571 #C57F94

Accessibility & contrast

On white

7.18
#8A3F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3F56
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F56#FFFFFF#000000##FFFFFF
##8A3F561.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#953847
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3f56;
/* rgb */ color: rgb(138, 63, 86);
/* oklch */ color: oklch(47.2% 0.105 2.6);
Tailwind
colors: {
  custom: {
    50: '#af7785',
    500: '#8a3f56',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f56;
$custom-light: #af7785;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f56",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 86
  },
  "hsl": {
    "h": 341.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.10501,
    "h": 2.6
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#8A3F56
secondary
#76AF9D
accent
#CDAA5B
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A3F56

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

Preview Lab → · Contrast checker → · Palette generator →

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