#8A3262#8A3262

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

Color values

HEX#8A3262
RGBrgb(138, 50, 98)
HSLhsl(327, 47%, 37%)
HSVhsv(327, 64%, 54%)
CMYKcmyk(0%, 63.8%, 29%, 45.9%)
CIE-LABlab(35.14, 42.54, -8.98)
CIE-LCHlch(35.14, 43.48, 348.08°)
OKLaboklab(45.81% 0.1291 -0.0234)
OKLCHoklch(45.81% 0.131 349.7)
XYZxyz(13.8270, 8.5677, 12.4784)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3262 #328A5A
analogous
#86328A #8A3262 #8A3236
triadic
#8A3262 #628A32 #32628A
tetradic
#8A3262 #8A8632 #328A5A #32368A
square
#8A3262 #8A8632 #328A5A #32368A
split-complementary
#8A3262 #368A32 #328A86
monochromatic
#301122 #5D2242 #8A3262 #B74282 #CA6C9F

Accessibility & contrast

On white

7.74
#8A3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3262
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3262#FFFFFF#000000##FFFFFF
##8A32621.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4963
Deuteranopia (green-blind)
#565860
Tritanopia (blue-blind)
#942E45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3262;
/* rgb */ color: rgb(138, 50, 98);
/* oklch */ color: oklch(45.8% 0.131 349.7);
Tailwind
colors: {
  custom: {
    50: '#af6f8e',
    500: '#8a3262',
    950: '#000000',
  },
}
SCSS
$custom: #8a3262;
$custom-light: #af6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3262",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 327.273,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.13117,
    "h": 349.7
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#8A3262
secondary
#66B288
accent
#D68E51
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3262

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

Preview Lab → · Contrast checker → · Palette generator →

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