#731B52#731B52

#731B52 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.134 H 346.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#731B52
RGBrgb(115, 27, 82)
HSLhsl(323, 62%, 28%)
HSVhsv(323, 77%, 45%)
CMYKcmyk(0%, 76.5%, 28.7%, 54.9%)
CIE-LABlab(26.85, 43.10, -11.54)
CIE-LCHlch(26.85, 44.62, 345.01°)
OKLaboklab(38.71% 0.131 -0.0305)
OKLCHoklch(38.71% 0.134 346.9)
XYZxyz(8.9856, 5.0389, 8.4804)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B52 #1B733C
analogous
#681B73 #731B52 #731B26
triadic
#731B52 #52731B #1B5273
tetradic
#731B52 #73681B #1B733C #1B2673
square
#731B52 #73681B #1B733C #1B2673
split-complementary
#731B52 #26731B #1B7368
monochromatic
#190612 #410F2F #731B52 #A52775 #D03897

Accessibility & contrast

On white

10.46
#731B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#731B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B52
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B52#FFFFFF#000000##FFFFFF
##731B521.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273653
Deuteranopia (green-blind)
#414550
Tritanopia (blue-blind)
#7B1834
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731b52;
/* rgb */ color: rgb(115, 27, 82);
/* oklch */ color: oklch(38.7% 0.134 346.9);
Tailwind
colors: {
  custom: {
    50: '#9f6082',
    500: '#731b52',
    950: '#000000',
  },
}
SCSS
$custom: #731b52;
$custom-light: #9f6082;
$custom-dark: #000000;
JSON
{
  "hex": "#731b52",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 322.5,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.13447,
    "h": 346.9
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#731B52
secondary
#42A868
accent
#E58043
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F050A
muted
#7F7A7C

Preview Lab

Preview with #731B52

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

Preview Lab → · Contrast checker → · Palette generator →

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