#8A335C#8A335C

#8A335C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.126 H 354.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A335C
RGBrgb(138, 51, 92)
HSLhsl(332, 46%, 37%)
HSVhsv(332, 63%, 54%)
CMYKcmyk(0%, 63%, 33.3%, 45.9%)
CIE-LABlab(35.09, 41.27, -5.22)
CIE-LCHlch(35.09, 41.60, 352.80°)
OKLaboklab(45.7% 0.1258 -0.0133)
OKLCHoklch(45.7% 0.126 354)
XYZxyz(13.5975, 8.5451, 11.0564)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A335C #338A61
analogous
#8A3388 #8A335C #8A3533
triadic
#8A335C #5C8A33 #335C8A
tetradic
#8A335C #888A33 #338A61 #35338A
square
#8A335C #888A33 #338A61 #35338A
split-complementary
#8A335C #338A35 #33888A
monochromatic
#311220 #5D223E #8A335C #B7447A #C96E99

Accessibility & contrast

On white

7.75
#8A335C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A335C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A335C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A335C#FFFFFF#000000##FFFFFF
##8A335C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495D
Deuteranopia (green-blind)
#58585A
Tritanopia (blue-blind)
#942D43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a335c;
/* rgb */ color: rgb(138, 51, 92);
/* oklch */ color: oklch(45.7% 0.126 354.0);
Tailwind
colors: {
  custom: {
    50: '#af708a',
    500: '#8a335c',
    950: '#000000',
  },
}
SCSS
$custom: #8a335c;
$custom-light: #af708a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a335c",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 331.724,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.12645,
    "h": 354
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#8A335C
secondary
#67B18F
accent
#D69852
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A335C

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

Preview Lab → · Contrast checker → · Palette generator →

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