#8A335F#8A335F

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

Color values

HEX#8A335F
RGBrgb(138, 51, 95)
HSLhsl(330, 46%, 37%)
HSVhsv(330, 63%, 54%)
CMYKcmyk(0%, 63%, 31.2%, 45.9%)
CIE-LABlab(35.20, 41.67, -6.97)
CIE-LCHlch(35.20, 42.25, 350.50°)
OKLaboklab(45.82% 0.1267 -0.018)
OKLCHoklch(45.82% 0.128 351.9)
XYZxyz(13.7313, 8.5986, 11.7608)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A335F #338A5E
analogous
#8A338A #8A335F #8A3334
triadic
#8A335F #5F8A33 #335F8A
tetradic
#8A335F #8A8A33 #338A5E #33348A
square
#8A335F #8A8A33 #338A5E #33348A
split-complementary
#8A335F #348A33 #338A8A
monochromatic
#311221 #5D2240 #8A335F #B7447E #C96E9C

Accessibility & contrast

On white

7.72
#8A335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A335F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A335F#FFFFFF#000000##FFFFFF
##8A335F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#57595D
Tritanopia (blue-blind)
#942E45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a335f;
/* rgb */ color: rgb(138, 51, 95);
/* oklch */ color: oklch(45.8% 0.128 351.9);
Tailwind
colors: {
  custom: {
    50: '#af708c',
    500: '#8a335f',
    950: '#000000',
  },
}
SCSS
$custom: #8a335f;
$custom-light: #af708c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a335f",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 329.655,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.12798,
    "h": 351.9
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#8A335F
secondary
#67B18C
accent
#D69352
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A335F

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

Preview Lab → · Contrast checker → · Palette generator →

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