#731F5F#731F5F

#731F5F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.138 H 339.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#731F5F
RGBrgb(115, 31, 95)
HSLhsl(314, 58%, 29%)
HSVhsv(314, 73%, 45%)
CMYKcmyk(0%, 73%, 17.4%, 54.9%)
CIE-LABlab(27.99, 43.47, -18.34)
CIE-LCHlch(27.99, 47.18, 337.12°)
OKLaboklab(39.74% 0.1289 -0.0496)
OKLCHoklch(39.74% 0.138 339)
XYZxyz(9.6260, 5.4519, 11.3696)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F5F #1F7333
analogous
#5D1F73 #731F5F #731F35
triadic
#731F5F #5F731F #1F5F73
tetradic
#731F5F #735D1F #1F7333 #1F3573
square
#731F5F #735D1F #1F7333 #1F3573
split-complementary
#731F5F #35731F #1F735D
monochromatic
#180614 #431237 #731F5F #A32C87 #CC41AB

Accessibility & contrast

On white

10.05
#731F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F5F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F5F#FFFFFF#000000##FFFFFF
##731F5F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#3E475D
Tritanopia (blue-blind)
#7A223C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731f5f;
/* rgb */ color: rgb(115, 31, 95);
/* oklch */ color: oklch(39.7% 0.138 339.0);
Tailwind
colors: {
  custom: {
    50: '#9e638c',
    500: '#731f5f',
    950: '#000000',
  },
}
SCSS
$custom: #731f5f;
$custom-light: #9e638c;
$custom-dark: #000000;
JSON
{
  "hex": "#731f5f",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 314.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.13813,
    "h": 339
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#731F5F
secondary
#47A75E
accent
#E16C47
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #731F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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