#731F52#731F52

#731F52 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.129 H 347.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#731F52
RGBrgb(115, 31, 82)
HSLhsl(324, 58%, 29%)
HSVhsv(324, 73%, 45%)
CMYKcmyk(0%, 73%, 28.7%, 54.9%)
CIE-LABlab(27.39, 41.56, -10.70)
CIE-LCHlch(27.39, 42.91, 345.56°)
OKLaboklab(39.12% 0.1262 -0.0282)
OKLCHoklch(39.12% 0.129 347.4)
XYZxyz(9.0836, 5.2350, 8.5131)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F52 #1F7340
analogous
#6A1F73 #731F52 #731F28
triadic
#731F52 #52731F #1F5273
tetradic
#731F52 #736A1F #1F7340 #1F2873
square
#731F52 #736A1F #1F7340 #1F2873
split-complementary
#731F52 #28731F #1F736A
monochromatic
#180611 #431230 #731F52 #A32C74 #CC4195

Accessibility & contrast

On white

10.26
#731F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#731F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F52
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F52#FFFFFF#000000##FFFFFF
##731F521.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#434650
Tritanopia (blue-blind)
#7B1C35
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731f52;
/* rgb */ color: rgb(115, 31, 82);
/* oklch */ color: oklch(39.1% 0.129 347.4);
Tailwind
colors: {
  custom: {
    50: '#9f6282',
    500: '#731f52',
    950: '#000000',
  },
}
SCSS
$custom: #731f52;
$custom-light: #9f6282;
$custom-dark: #000000;
JSON
{
  "hex": "#731f52",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 323.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.12931,
    "h": 347.4
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#731F52
secondary
#47A76D
accent
#E18347
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F050A
muted
#7F7A7C

Preview Lab

Preview with #731F52

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

Preview Lab → · Contrast checker → · Palette generator →

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