#8A335A#8A335A

#8A335A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.6% C 0.125 H 355.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A335A
RGBrgb(138, 51, 90)
HSLhsl(333, 46%, 37%)
HSVhsv(333, 63%, 54%)
CMYKcmyk(0%, 63%, 34.8%, 45.9%)
CIE-LABlab(35.02, 41.02, -4.04)
CIE-LCHlch(35.02, 41.21, 354.38°)
OKLaboklab(45.63% 0.1251 -0.0101)
OKLCHoklch(45.63% 0.125 355.4)
XYZxyz(13.5112, 8.5106, 10.6020)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A335A #338A63
analogous
#8A3386 #8A335A #8A3733
triadic
#8A335A #5A8A33 #335A8A
tetradic
#8A335A #868A33 #338A63 #37338A
square
#8A335A #868A33 #338A63 #37338A
split-complementary
#8A335A #338A37 #33868A
monochromatic
#311220 #5D223D #8A335A #B74477 #C96E97

Accessibility & contrast

On white

7.77
#8A335A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A335A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A335A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A335A#FFFFFF#000000##FFFFFF
##8A335A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41485B
Deuteranopia (green-blind)
#585858
Tritanopia (blue-blind)
#942D42
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a335a;
/* rgb */ color: rgb(138, 51, 90);
/* oklch */ color: oklch(45.6% 0.125 355.4);
Tailwind
colors: {
  custom: {
    50: '#af7088',
    500: '#8a335a',
    950: '#000000',
  },
}
SCSS
$custom: #8a335a;
$custom-light: #af7088;
$custom-dark: #000000;
JSON
{
  "hex": "#8a335a",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 333.103,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.12549,
    "h": 355.4
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#8A335A
secondary
#67B190
accent
#D69B52
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A335A

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

Preview Lab → · Contrast checker → · Palette generator →

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