#731B62#731B62

#731B62 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 337.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#731B62
RGBrgb(115, 27, 98)
HSLhsl(312, 62%, 28%)
HSVhsv(312, 77%, 45%)
CMYKcmyk(0%, 76.5%, 14.8%, 54.9%)
CIE-LABlab(27.60, 45.44, -20.89)
CIE-LCHlch(27.60, 50.02, 335.31°)
OKLaboklab(39.51% 0.1338 -0.0568)
OKLCHoklch(39.51% 0.145 337)
XYZxyz(9.6669, 5.3114, 12.0690)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B62 #1B732C
analogous
#581B73 #731B62 #731B36
triadic
#731B62 #62731B #1B6273
tetradic
#731B62 #73581B #1B732C #1B3673
square
#731B62 #73581B #1B732C #1B3673
split-complementary
#731B62 #36731B #1B7358
monochromatic
#190615 #410F38 #731B62 #A5278C #D038B3

Accessibility & contrast

On white

10.18
#731B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B62
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B62#FFFFFF#000000##FFFFFF
##731B621.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3964
Deuteranopia (green-blind)
#3C4660
Tritanopia (blue-blind)
#79203C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731b62;
/* rgb */ color: rgb(115, 27, 98);
/* oklch */ color: oklch(39.5% 0.145 337.0);
Tailwind
colors: {
  custom: {
    50: '#9e618f',
    500: '#731b62',
    950: '#000000',
  },
}
SCSS
$custom: #731b62;
$custom-light: #9e618f;
$custom-dark: #000000;
JSON
{
  "hex": "#731b62",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 311.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.1454,
    "h": 337
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#731B62
secondary
#42A856
accent
#E56243
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731B62

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

Preview Lab → · Contrast checker → · Palette generator →

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