#8A3258#8A3258

#8A3258 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.4% C 0.126 H 356.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3258
RGBrgb(138, 50, 88)
HSLhsl(334, 47%, 37%)
HSVhsv(334, 64%, 54%)
CMYKcmyk(0%, 63.8%, 36.2%, 45.9%)
CIE-LABlab(34.78, 41.23, -3.11)
CIE-LCHlch(34.78, 41.35, 355.68°)
OKLaboklab(45.43% 0.1259 -0.0077)
OKLCHoklch(45.43% 0.126 356.5)
XYZxyz(13.3840, 8.3905, 10.1453)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3258 #328A64
analogous
#8A3284 #8A3258 #8A3832
triadic
#8A3258 #588A32 #32588A
tetradic
#8A3258 #848A32 #328A64 #38328A
square
#8A3258 #848A32 #328A64 #38328A
split-complementary
#8A3258 #328A38 #32848A
monochromatic
#30111F #5D223B #8A3258 #B74275 #CA6C95

Accessibility & contrast

On white

7.84
#8A3258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A3258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3258
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3258#FFFFFF#000000##FFFFFF
##8A32581.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414759
Deuteranopia (green-blind)
#585856
Tritanopia (blue-blind)
#952B41
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3258;
/* rgb */ color: rgb(138, 50, 88);
/* oklch */ color: oklch(45.4% 0.126 356.5);
Tailwind
colors: {
  custom: {
    50: '#b06f87',
    500: '#8a3258',
    950: '#000000',
  },
}
SCSS
$custom: #8a3258;
$custom-light: #b06f87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3258",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 334.091,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.1261,
    "h": 356.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#8A3258
secondary
#66B291
accent
#D69D51
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3258

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

Preview Lab → · Contrast checker → · Palette generator →

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