#8A334C#8A334C

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

Color values

HEX#8A334C
RGBrgb(138, 51, 76)
HSLhsl(343, 46%, 37%)
HSVhsv(343, 63%, 54%)
CMYKcmyk(0%, 63%, 44.9%, 45.9%)
CIE-LABlab(34.59, 39.37, 4.32)
CIE-LCHlch(34.59, 39.60, 6.26°)
OKLaboklab(45.16% 0.12 0.0115)
OKLCHoklch(45.16% 0.121 5.5)
XYZxyz(12.9705, 8.2942, 7.7540)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A334C #338A71
analogous
#8A3378 #8A334C #8A4633
triadic
#8A334C #4C8A33 #334C8A
tetradic
#8A334C #788A33 #338A71 #46338A
square
#8A334C #788A33 #338A71 #46338A
split-complementary
#8A334C #338A46 #33788A
monochromatic
#31121B #5D2233 #8A334C #B74465 #C96E88

Accessibility & contrast

On white

7.90
#8A334C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A334C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A334C#FFFFFF#000000##FFFFFF
##8A334C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#5B584A
Tritanopia (blue-blind)
#96283D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a334c;
/* rgb */ color: rgb(138, 51, 76);
/* oklch */ color: oklch(45.2% 0.121 5.5);
Tailwind
colors: {
  custom: {
    50: '#b06f7d',
    500: '#8a334c',
    950: '#000000',
  },
}
SCSS
$custom: #8a334c;
$custom-light: #b06f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a334c",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 342.759,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.12051,
    "h": 5.5
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#8A334C
secondary
#67B19C
accent
#D6B052
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110809
muted
#807B7B

Preview Lab

Preview with #8A334C

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

Preview Lab → · Contrast checker → · Palette generator →

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