#731F5D#731F5D

#731F5D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 340.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#731F5D
RGBrgb(115, 31, 93)
HSLhsl(316, 58%, 29%)
HSVhsv(316, 73%, 45%)
CMYKcmyk(0%, 73%, 19.1%, 54.9%)
CIE-LABlab(27.89, 43.16, -17.19)
CIE-LCHlch(27.89, 46.46, 338.29°)
OKLaboklab(39.64% 0.1286 -0.0463)
OKLCHoklch(39.64% 0.137 340.2)
XYZxyz(9.5363, 5.4160, 10.8970)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F5D #1F7335
analogous
#5F1F73 #731F5D #731F33
triadic
#731F5D #5D731F #1F5D73
tetradic
#731F5D #735F1F #1F7335 #1F3373
square
#731F5D #735F1F #1F7335 #1F3373
split-complementary
#731F5D #33731F #1F735F
monochromatic
#180613 #431236 #731F5D #A32C84 #CC41A7

Accessibility & contrast

On white

10.08
#731F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#731F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F5D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F5D#FFFFFF#000000##FFFFFF
##731F5D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#3F475B
Tritanopia (blue-blind)
#7A213B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731f5d;
/* rgb */ color: rgb(115, 31, 93);
/* oklch */ color: oklch(39.6% 0.137 340.2);
Tailwind
colors: {
  custom: {
    50: '#9e638b',
    500: '#731f5d',
    950: '#000000',
  },
}
SCSS
$custom: #731f5d;
$custom-light: #9e638b;
$custom-dark: #000000;
JSON
{
  "hex": "#731f5d",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 315.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.13667,
    "h": 340.2
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#731F5D
secondary
#47A760
accent
#E16F47
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #731F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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