#731A52#731A52

#731A52 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.136 H 346.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#731A52
RGBrgb(115, 26, 82)
HSLhsl(322, 63%, 28%)
HSVhsv(322, 77%, 45%)
CMYKcmyk(0%, 77.4%, 28.7%, 54.9%)
CIE-LABlab(26.72, 43.46, -11.74)
CIE-LCHlch(26.72, 45.02, 344.89°)
OKLaboklab(38.62% 0.1321 -0.031)
OKLCHoklch(38.62% 0.136 346.8)
XYZxyz(8.9630, 4.9938, 8.4729)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A52 #1A733B
analogous
#671A73 #731A52 #731A25
triadic
#731A52 #52731A #1A5273
tetradic
#731A52 #73671A #1A733B #1A2573
square
#731A52 #73671A #1A733B #1A2573
split-complementary
#731A52 #25731A #1A7367
monochromatic
#190612 #410F2E #731A52 #A52576 #D23698

Accessibility & contrast

On white

10.51
#731A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#731A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A52
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A52#FFFFFF#000000##FFFFFF
##731A521.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731a52;
/* rgb */ color: rgb(115, 26, 82);
/* oklch */ color: oklch(38.6% 0.136 346.8);
Tailwind
colors: {
  custom: {
    50: '#9f6082',
    500: '#731a52',
    950: '#000000',
  },
}
SCSS
$custom: #731a52;
$custom-light: #9f6082;
$custom-dark: #000000;
JSON
{
  "hex": "#731a52",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 322.247,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.13569,
    "h": 346.8
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#731A52
secondary
#41A867
accent
#E67F42
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#0F050A
muted
#7F797C

Preview Lab

Preview with #731A52

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

Preview Lab → · Contrast checker → · Palette generator →

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