#731A5E#731A5E

#731A5E is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.144 H 339.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#731A5E
RGBrgb(115, 26, 94)
HSLhsl(314, 63%, 28%)
HSVhsv(314, 77%, 45%)
CMYKcmyk(0%, 77.4%, 18.3%, 54.9%)
CIE-LABlab(27.28, 45.18, -18.79)
CIE-LCHlch(27.28, 48.93, 337.42°)
OKLaboklab(39.21% 0.1344 -0.0508)
OKLCHoklch(39.21% 0.144 339.3)
XYZxyz(9.4602, 5.1927, 11.0916)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A5E #1A732F
analogous
#5B1A73 #731A5E #731A32
triadic
#731A5E #5E731A #1A5E73
tetradic
#731A5E #735B1A #1A732F #1A3273
square
#731A5E #735B1A #1A732F #1A3273
split-complementary
#731A5E #32731A #1A735B
monochromatic
#190614 #410F35 #731A5E #A52587 #D236AD

Accessibility & contrast

On white

10.30
#731A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A5E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A5E#FFFFFF#000000##FFFFFF
##731A5E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#3D455C
Tritanopia (blue-blind)
#7A1E3A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731a5e;
/* rgb */ color: rgb(115, 26, 94);
/* oklch */ color: oklch(39.2% 0.144 339.3);
Tailwind
colors: {
  custom: {
    50: '#9f618c',
    500: '#731a5e',
    950: '#000000',
  },
}
SCSS
$custom: #731a5e;
$custom-light: #9f618c;
$custom-dark: #000000;
JSON
{
  "hex": "#731a5e",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 314.157,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.14367,
    "h": 339.3
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#731A5E
secondary
#41A859
accent
#E66842
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731A5E

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

Preview Lab → · Contrast checker → · Palette generator →

#731A5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva