#731E52#731E52

#731E52 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.131 H 347.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#731E52
RGBrgb(115, 30, 82)
HSLhsl(323, 59%, 28%)
HSVhsv(323, 74%, 45%)
CMYKcmyk(0%, 73.9%, 28.7%, 54.9%)
CIE-LABlab(27.25, 41.96, -10.92)
CIE-LCHlch(27.25, 43.35, 345.41°)
OKLaboklab(39.01% 0.1274 -0.0288)
OKLCHoklch(39.01% 0.131 347.3)
XYZxyz(9.0579, 5.1836, 8.5045)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E52 #1E733F
analogous
#691E73 #731E52 #731E27
triadic
#731E52 #52731E #1E5273
tetradic
#731E52 #73691E #1E733F #1E2773
square
#731E52 #73691E #1E733F #1E2773
split-complementary
#731E52 #27731E #1E7369
monochromatic
#180611 #42112F #731E52 #A42B75 #CD3F96

Accessibility & contrast

On white

10.31
#731E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E52
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E52#FFFFFF#000000##FFFFFF
##731E521.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#424650
Tritanopia (blue-blind)
#7B1B35
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731e52;
/* rgb */ color: rgb(115, 30, 82);
/* oklch */ color: oklch(39.0% 0.131 347.3);
Tailwind
colors: {
  custom: {
    50: '#9f6282',
    500: '#731e52',
    950: '#000000',
  },
}
SCSS
$custom: #731e52;
$custom-light: #9f6282;
$custom-dark: #000000;
JSON
{
  "hex": "#731e52",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 323.294,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.13064,
    "h": 347.3
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#731E52
secondary
#46A76C
accent
#E28246
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F050A
muted
#7F7A7C

Preview Lab

Preview with #731E52

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

Preview Lab → · Contrast checker → · Palette generator →

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