#8A334A#8A334A

#8A334A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.1% C 0.120 H 7.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A334A
RGBrgb(138, 51, 74)
HSLhsl(344, 46%, 37%)
HSVhsv(344, 63%, 54%)
CMYKcmyk(0%, 63%, 46.4%, 45.9%)
CIE-LABlab(34.53, 39.15, 5.53)
CIE-LCHlch(34.53, 39.54, 8.04°)
OKLaboklab(45.1% 0.1192 0.0146)
OKLCHoklch(45.1% 0.12 7)
XYZxyz(12.9020, 8.2669, 7.3935)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A334A #338A73
analogous
#8A3376 #8A334A #8A4833
triadic
#8A334A #4A8A33 #334A8A
tetradic
#8A334A #768A33 #338A73 #48338A
square
#8A334A #768A33 #338A73 #48338A
split-complementary
#8A334A #338A48 #33768A
monochromatic
#31121A #5D2232 #8A334A #B74462 #C96E86

Accessibility & contrast

On white

7.92
#8A334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A334A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A334A#FFFFFF#000000##FFFFFF
##8A334A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45464B
Deuteranopia (green-blind)
#5C5848
Tritanopia (blue-blind)
#96283C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a334a;
/* rgb */ color: rgb(138, 51, 74);
/* oklch */ color: oklch(45.1% 0.120 7.0);
Tailwind
colors: {
  custom: {
    50: '#b06f7c',
    500: '#8a334a',
    950: '#000000',
  },
}
SCSS
$custom: #8a334a;
$custom-light: #b06f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a334a",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 344.138,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.12006,
    "h": 7
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#8A334A
secondary
#67B19E
accent
#D6B352
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110809
muted
#807B7B

Preview Lab

Preview with #8A334A

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

Preview Lab → · Contrast checker → · Palette generator →

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