#8A4274#8A4274

#8A4274 is a mid, moderate pink. Relative luminance 0.106; OKLCH L 48.8% C 0.117 H 340.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A4274
RGBrgb(138, 66, 116)
HSLhsl(318, 35%, 40%)
HSVhsv(318, 52%, 54%)
CMYKcmyk(0%, 52.2%, 15.9%, 45.9%)
CIE-LABlab(38.83, 37.31, -14.69)
CIE-LCHlch(38.83, 40.09, 338.50°)
OKLaboklab(48.78% 0.11 -0.0393)
OKLCHoklch(48.78% 0.117 340.3)
XYZxyz(15.5820, 10.5618, 17.7376)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4274 #428A58
analogous
#7C428A #8A4274 #8A4250
triadic
#8A4274 #748A42 #42748A
tetradic
#8A4274 #8A7C42 #428A58 #42508A
square
#8A4274 #8A7C42 #428A58 #42508A
split-complementary
#8A4274 #508A42 #428A7C
monochromatic
#371A2E #612E51 #8A4274 #B05995 #C483B0

Accessibility & contrast

On white

6.75
#8A4274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A4274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4274
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4274#FFFFFF#000000##FFFFFF
##8A42741.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#596072
Tritanopia (blue-blind)
#914355
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a4274;
/* rgb */ color: rgb(138, 66, 116);
/* oklch */ color: oklch(48.8% 0.117 340.3);
Tailwind
colors: {
  custom: {
    50: '#ae799c',
    500: '#8a4274',
    950: '#000000',
  },
}
SCSS
$custom: #8a4274;
$custom-light: #ae799c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4274",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 318.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.11678,
    "h": 340.3
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#8A4274
secondary
#79AE8A
accent
#CB7E5C
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4274

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

Preview Lab → · Contrast checker → · Palette generator →

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