#731A5D#731A5D

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

Color values

HEX#731A5D
RGBrgb(115, 26, 93)
HSLhsl(315, 63%, 28%)
HSVhsv(315, 77%, 45%)
CMYKcmyk(0%, 77.4%, 19.1%, 54.9%)
CIE-LABlab(27.23, 45.03, -18.21)
CIE-LCHlch(27.23, 48.57, 337.98°)
OKLaboklab(39.16% 0.1342 -0.0492)
OKLCHoklch(39.16% 0.143 339.9)
XYZxyz(9.4157, 5.1749, 10.8568)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A5D #1A7330
analogous
#5C1A73 #731A5D #731A31
triadic
#731A5D #5D731A #1A5D73
tetradic
#731A5D #735C1A #1A7330 #1A3173
square
#731A5D #735C1A #1A7330 #1A3173
split-complementary
#731A5D #31731A #1A735C
monochromatic
#190614 #410F35 #731A5D #A52585 #D236AB

Accessibility & contrast

On white

10.32
#731A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#731A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A5D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A5D#FFFFFF#000000##FFFFFF
##731A5D1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375F
Deuteranopia (green-blind)
#3D455B
Tritanopia (blue-blind)
#7A1D39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731a5d;
/* rgb */ color: rgb(115, 26, 93);
/* oklch */ color: oklch(39.2% 0.143 339.9);
Tailwind
colors: {
  custom: {
    50: '#9f618b',
    500: '#731a5d',
    950: '#000000',
  },
}
SCSS
$custom: #731a5d;
$custom-light: #9f618b;
$custom-dark: #000000;
JSON
{
  "hex": "#731a5d",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 314.831,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.14295,
    "h": 339.9
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#731A5D
secondary
#41A85A
accent
#E66A42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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