#8A4175#8A4175

#8A4175 is a mid, moderate pink. Relative luminance 0.105; OKLCH L 48.7% C 0.119 H 339.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A4175
RGBrgb(138, 65, 117)
HSLhsl(317, 36%, 40%)
HSVhsv(317, 53%, 54%)
CMYKcmyk(0%, 52.9%, 15.2%, 45.9%)
CIE-LABlab(38.67, 38.00, -15.56)
CIE-LCHlch(38.67, 41.06, 337.74°)
OKLaboklab(48.67% 0.1118 -0.0417)
OKLCHoklch(48.67% 0.119 339.5)
XYZxyz(15.5826, 10.4694, 18.0262)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4175 #418A56
analogous
#7B418A #8A4175 #8A4151
triadic
#8A4175 #758A41 #41758A
tetradic
#8A4175 #8A7B41 #418A56 #41518A
square
#8A4175 #8A7B41 #418A56 #41518A
split-complementary
#8A4175 #518A41 #418A7B
monochromatic
#371A2E #602D52 #8A4175 #B05897 #C482B1

Accessibility & contrast

On white

6.79
#8A4175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A4175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4175
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4175#FFFFFF#000000##FFFFFF
##8A41751.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445477
Deuteranopia (green-blind)
#585F73
Tritanopia (blue-blind)
#914355
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a4175;
/* rgb */ color: rgb(138, 65, 117);
/* oklch */ color: oklch(48.7% 0.119 339.5);
Tailwind
colors: {
  custom: {
    50: '#ae799d',
    500: '#8a4175',
    950: '#000000',
  },
}
SCSS
$custom: #8a4175;
$custom-light: #ae799d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4175",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 317.26,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.11932,
    "h": 339.5
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#8A4175
secondary
#78AE88
accent
#CC7C5C
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4175

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

Preview Lab → · Contrast checker → · Palette generator →

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