#8A3351#8A3351

#8A3351 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.3% C 0.122 H 1.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3351
RGBrgb(138, 51, 81)
HSLhsl(339, 46%, 37%)
HSVhsv(339, 63%, 54%)
CMYKcmyk(0%, 63%, 41.3%, 45.9%)
CIE-LABlab(34.73, 39.93, 1.31)
CIE-LCHlch(34.73, 39.95, 1.89°)
OKLaboklab(45.32% 0.1219 0.0039)
OKLCHoklch(45.32% 0.122 1.8)
XYZxyz(13.1511, 8.3665, 8.7053)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3351 #338A6C
analogous
#8A337D #8A3351 #8A4033
triadic
#8A3351 #518A33 #33518A
tetradic
#8A3351 #7D8A33 #338A6C #40338A
square
#8A3351 #7D8A33 #338A6C #40338A
split-complementary
#8A3351 #338A40 #337D8A
monochromatic
#31121D #5D2237 #8A3351 #B7446B #C96E8E

Accessibility & contrast

On white

7.86
#8A3351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A3351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3351
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3351#FFFFFF#000000##FFFFFF
##8A33511.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#952A3F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3351;
/* rgb */ color: rgb(138, 51, 81);
/* oklch */ color: oklch(45.3% 0.122 1.8);
Tailwind
colors: {
  custom: {
    50: '#b06f81',
    500: '#8a3351',
    950: '#000000',
  },
}
SCSS
$custom: #8a3351;
$custom-light: #b06f81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3351",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 81
  },
  "hsl": {
    "h": 339.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.12193,
    "h": 1.8
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#8A3351
secondary
#67B198
accent
#D6A852
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A3351

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

Preview Lab → · Contrast checker → · Palette generator →

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