#8A335E#8A335E

#8A335E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.8% C 0.127 H 352.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A335E
RGBrgb(138, 51, 94)
HSLhsl(330, 46%, 37%)
HSVhsv(330, 63%, 54%)
CMYKcmyk(0%, 63%, 31.9%, 45.9%)
CIE-LABlab(35.16, 41.54, -6.39)
CIE-LCHlch(35.16, 42.02, 351.26°)
OKLaboklab(45.78% 0.1264 -0.0164)
OKLCHoklch(45.78% 0.127 352.6)
XYZxyz(13.6861, 8.5805, 11.5229)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A335E #338A5F
analogous
#8A338A #8A335E #8A3433
triadic
#8A335E #5E8A33 #335E8A
tetradic
#8A335E #8A8A33 #338A5F #34338A
square
#8A335E #8A8A33 #338A5F #34338A
split-complementary
#8A335E #338A34 #338A8A
monochromatic
#311221 #5D2240 #8A335E #B7447C #C96E9B

Accessibility & contrast

On white

7.73
#8A335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A335E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A335E#FFFFFF#000000##FFFFFF
##8A335E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#57595C
Tritanopia (blue-blind)
#942E44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a335e;
/* rgb */ color: rgb(138, 51, 94);
/* oklch */ color: oklch(45.8% 0.127 352.6);
Tailwind
colors: {
  custom: {
    50: '#af708b',
    500: '#8a335e',
    950: '#000000',
  },
}
SCSS
$custom: #8a335e;
$custom-light: #af708b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a335e",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 330.345,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.12746,
    "h": 352.6
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#8A335E
secondary
#67B18D
accent
#D69552
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A335E

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

Preview Lab → · Contrast checker → · Palette generator →

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