#8A3255#8A3255

#8A3255 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.125 H 358.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A3255
RGBrgb(138, 50, 85)
HSLhsl(336, 47%, 37%)
HSVhsv(336, 64%, 54%)
CMYKcmyk(0%, 63.8%, 38.4%, 45.9%)
CIE-LABlab(34.68, 40.87, -1.33)
CIE-LCHlch(34.68, 40.89, 358.13°)
OKLaboklab(45.32% 0.1248 -0.003)
OKLCHoklch(45.32% 0.125 358.6)
XYZxyz(13.2623, 8.3418, 9.5043)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3255 #328A67
analogous
#8A3281 #8A3255 #8A3B32
triadic
#8A3255 #558A32 #32558A
tetradic
#8A3255 #818A32 #328A67 #3B328A
square
#8A3255 #818A32 #328A67 #3B328A
split-complementary
#8A3255 #328A3B #32818A
monochromatic
#30111E #5D2239 #8A3255 #B74271 #CA6C92

Accessibility & contrast

On white

7.87
#8A3255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3255
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3255#FFFFFF#000000##FFFFFF
##8A32551.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414756
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#952A40
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3255;
/* rgb */ color: rgb(138, 50, 85);
/* oklch */ color: oklch(45.3% 0.125 358.6);
Tailwind
colors: {
  custom: {
    50: '#b06f84',
    500: '#8a3255',
    950: '#000000',
  },
}
SCSS
$custom: #8a3255;
$custom-light: #b06f84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3255",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 336.136,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.12486,
    "h": 358.6
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#8A3255
secondary
#66B294
accent
#D6A251
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3255

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

Preview Lab → · Contrast checker → · Palette generator →

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