#8A3F62#8A3F62

#8A3F62 is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.6% C 0.110 H 352.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A3F62
RGBrgb(138, 63, 98)
HSLhsl(332, 37%, 39%)
HSVhsv(332, 54%, 54%)
CMYKcmyk(0%, 54.3%, 29%, 45.9%)
CIE-LABlab(37.56, 36.10, -5.36)
CIE-LCHlch(37.56, 36.49, 351.56°)
OKLaboklab(47.61% 0.1093 -0.0137)
OKLCHoklch(47.61% 0.11 352.8)
XYZxyz(14.4639, 9.8414, 12.6907)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F62 #3F8A67
analogous
#8A3F88 #8A3F62 #8A423F
triadic
#8A3F62 #628A3F #3F628A
tetradic
#8A3F62 #888A3F #3F8A67 #423F8A
square
#8A3F62 #888A3F #3F8A67 #423F8A
split-complementary
#8A3F62 #3F8A42 #3F888A
monochromatic
#361926 #602C44 #8A3F62 #B15580 #C57F9F

Accessibility & contrast

On white

7.08
#8A3F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A3F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3F62
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F62#FFFFFF#000000##FFFFFF
##8A3F621.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#5D5D60
Tritanopia (blue-blind)
#933B4C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3f62;
/* rgb */ color: rgb(138, 63, 98);
/* oklch */ color: oklch(47.6% 0.110 352.8);
Tailwind
colors: {
  custom: {
    50: '#af778e',
    500: '#8a3f62',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f62;
$custom-light: #af778e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f62",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 98
  },
  "hsl": {
    "h": 332,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.11012,
    "h": 352.8
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#8A3F62
secondary
#76AF94
accent
#CD985B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A3F62

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

Preview Lab → · Contrast checker → · Palette generator →

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