#803F71#803F71

#803F71 is a mid, moderate pink. Relative luminance 0.093; OKLCH L 46.8% C 0.111 H 336.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#803F71
RGBrgb(128, 63, 113)
HSLhsl(314, 34%, 37%)
HSVhsv(314, 51%, 50%)
CMYKcmyk(0%, 50.8%, 11.7%, 49.8%)
CIE-LABlab(36.63, 35.07, -16.33)
CIE-LCHlch(36.63, 38.68, 335.03°)
OKLaboklab(46.79% 0.102 -0.044)
OKLCHoklch(46.79% 0.111 336.7)
XYZxyz(13.6603, 9.3374, 16.7024)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803F71 #3F804E
analogous
#6E3F80 #803F71 #803F51
triadic
#803F71 #71803F #3F7180
tetradic
#803F71 #806E3F #3F804E #3F5180
square
#803F71 #806E3F #3F804E #3F5180
split-complementary
#803F71 #51803F #3F806E
monochromatic
#2E1729 #572B4D #803F71 #A95395 #BE7BAF

Accessibility & contrast

On white

7.32
#803F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#803F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803F71
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803F71#FFFFFF#000000##FFFFFF
##803F711.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#864253
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #803f71;
/* rgb */ color: rgb(128, 63, 113);
/* oklch */ color: oklch(46.8% 0.111 336.7);
Tailwind
colors: {
  custom: {
    50: '#a6769a',
    500: '#803f71',
    950: '#000000',
  },
}
SCSS
$custom: #803f71;
$custom-light: #a6769a;
$custom-dark: #000000;
JSON
{
  "hex": "#803f71",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 313.846,
    "s": 34.031,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46792,
    "c": 0.11109,
    "h": 336.7
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#803F71
secondary
#72A87F
accent
#CA775E
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #803F71

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

Preview Lab → · Contrast checker → · Palette generator →

#803F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva