#8A334E#8A334E

#8A334E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.121 H 4.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A334E
RGBrgb(138, 51, 78)
HSLhsl(341, 46%, 37%)
HSVhsv(341, 63%, 54%)
CMYKcmyk(0%, 63%, 43.5%, 45.9%)
CIE-LABlab(34.65, 39.59, 3.12)
CIE-LCHlch(34.65, 39.71, 4.50°)
OKLaboklab(45.22% 0.1207 0.0085)
OKLCHoklch(45.22% 0.121 4)
XYZxyz(13.0411, 8.3225, 8.1259)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A334E #338A6F
analogous
#8A337A #8A334E #8A4333
triadic
#8A334E #4E8A33 #334E8A
tetradic
#8A334E #7A8A33 #338A6F #43338A
square
#8A334E #7A8A33 #338A6F #43338A
split-complementary
#8A334E #338A43 #337A8A
monochromatic
#31121B #5D2235 #8A334E #B74467 #C96E8A

Accessibility & contrast

On white

7.88
#8A334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A334E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A334E#FFFFFF#000000##FFFFFF
##8A334E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#96293D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a334e;
/* rgb */ color: rgb(138, 51, 78);
/* oklch */ color: oklch(45.2% 0.121 4.0);
Tailwind
colors: {
  custom: {
    50: '#b06f7f',
    500: '#8a334e',
    950: '#000000',
  },
}
SCSS
$custom: #8a334e;
$custom-light: #b06f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a334e",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 341.379,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.12103,
    "h": 4
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#8A334E
secondary
#67B19A
accent
#D6AD52
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A334E

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

Preview Lab → · Contrast checker → · Palette generator →

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