#8D335F#8D335F

#8D335F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.3% C 0.131 H 353.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8D335F
RGBrgb(141, 51, 95)
HSLhsl(331, 47%, 38%)
HSVhsv(331, 64%, 55%)
CMYKcmyk(0%, 63.8%, 32.6%, 44.7%)
CIE-LABlab(35.71, 42.64, -6.16)
CIE-LCHlch(35.71, 43.08, 351.78°)
OKLaboklab(46.29% 0.1299 -0.0158)
OKLCHoklch(46.29% 0.131 353.1)
XYZxyz(14.2346, 8.8581, 11.7844)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D335F #338D61
analogous
#8D338C #8D335F #8D3433
triadic
#8D335F #5F8D33 #335F8D
tetradic
#8D335F #8C8D33 #338D61 #34338D
square
#8D335F #8C8D33 #338D61 #34338D
split-complementary
#8D335F #338D34 #338C8D
monochromatic
#331222 #602341 #8D335F #BA437D #CB6F9C

Accessibility & contrast

On white

7.58
#8D335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D335F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D335F#FFFFFF#000000##FFFFFF
##8D335F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#595A5D
Tritanopia (blue-blind)
#972E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d335f;
/* rgb */ color: rgb(141, 51, 95);
/* oklch */ color: oklch(46.3% 0.131 353.1);
Tailwind
colors: {
  custom: {
    50: '#b2708c',
    500: '#8d335f',
    950: '#000000',
  },
}
SCSS
$custom: #8d335f;
$custom-light: #b2708c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d335f",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 330.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.13083,
    "h": 353.1
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#8D335F
secondary
#69B38F
accent
#D79551
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D335F

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

Preview Lab → · Contrast checker → · Palette generator →

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