#8A335B#8A335B

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

Color values

HEX#8A335B
RGBrgb(138, 51, 91)
HSLhsl(332, 46%, 37%)
HSVhsv(332, 63%, 54%)
CMYKcmyk(0%, 63%, 34.1%, 45.9%)
CIE-LABlab(35.06, 41.14, -4.63)
CIE-LCHlch(35.06, 41.40, 353.58°)
OKLaboklab(45.67% 0.1254 -0.0117)
OKLCHoklch(45.67% 0.126 354.7)
XYZxyz(13.5541, 8.5277, 10.8277)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A335B #338A62
analogous
#8A3387 #8A335B #8A3733
triadic
#8A335B #5B8A33 #335B8A
tetradic
#8A335B #878A33 #338A62 #37338A
square
#8A335B #878A33 #338A62 #37338A
split-complementary
#8A335B #338A37 #33878A
monochromatic
#311220 #5D223E #8A335B #B74478 #C96E98

Accessibility & contrast

On white

7.76
#8A335B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A335B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A335B#FFFFFF#000000##FFFFFF
##8A335B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41485C
Deuteranopia (green-blind)
#585859
Tritanopia (blue-blind)
#942D43
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a335b;
/* rgb */ color: rgb(138, 51, 91);
/* oklch */ color: oklch(45.7% 0.126 354.7);
Tailwind
colors: {
  custom: {
    50: '#af7089',
    500: '#8a335b',
    950: '#000000',
  },
}
SCSS
$custom: #8a335b;
$custom-light: #af7089;
$custom-dark: #000000;
JSON
{
  "hex": "#8a335b",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 332.414,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.12596,
    "h": 354.7
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A335B

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

Preview Lab → · Contrast checker → · Palette generator →

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