#731F4E#731F4E

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

Color values

HEX#731F4E
RGBrgb(115, 31, 78)
HSLhsl(326, 58%, 29%)
HSVhsv(326, 73%, 45%)
CMYKcmyk(0%, 73%, 32.2%, 54.9%)
CIE-LABlab(27.23, 41.02, -8.30)
CIE-LCHlch(27.23, 41.85, 348.57°)
OKLaboklab(38.94% 0.1251 -0.0216)
OKLCHoklch(38.94% 0.127 350.2)
XYZxyz(8.9358, 5.1759, 7.7347)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F4E #1F7344
analogous
#6E1F73 #731F4E #731F24
triadic
#731F4E #4E731F #1F4E73
tetradic
#731F4E #736E1F #1F7344 #1F2473
square
#731F4E #736E1F #1F7344 #1F2473
split-complementary
#731F4E #24731F #1F736E
monochromatic
#180610 #43122D #731F4E #A32C6F #CC418E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731F4E#FFFFFF#000000##FFFFFF
##731F4E1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#44464C
Tritanopia (blue-blind)
#7C1A33
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731f4e;
/* rgb */ color: rgb(115, 31, 78);
/* oklch */ color: oklch(38.9% 0.127 350.2);
Tailwind
colors: {
  custom: {
    50: '#9f627f',
    500: '#731f4e',
    950: '#000000',
  },
}
SCSS
$custom: #731f4e;
$custom-light: #9f627f;
$custom-dark: #000000;
JSON
{
  "hex": "#731f4e",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 326.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.12695,
    "h": 350.2
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#731F4E
secondary
#47A771
accent
#E18B47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F050A
muted
#7F7A7C

Preview Lab

Preview with #731F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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