#731161#731161

#731161 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.7% C 0.155 H 337.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#731161
RGBrgb(115, 17, 97)
HSLhsl(311, 74%, 26%)
HSVhsv(311, 85%, 45%)
CMYKcmyk(0%, 85.2%, 15.7%, 54.9%)
CIE-LABlab(26.48, 48.37, -22.01)
CIE-LCHlch(26.48, 53.14, 335.54°)
OKLaboklab(38.69% 0.143 -0.0599)
OKLCHoklch(38.69% 0.155 337.3)
XYZxyz(9.4286, 4.9097, 11.7581)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731161 #117323
analogous
#541173 #731161 #731130
triadic
#731161 #617311 #116173
tetradic
#731161 #735411 #117323 #113073
square
#731161 #735411 #117323 #113073
split-complementary
#731161 #307311 #117354
monochromatic
#1B0416 #3E0934 #731161 #A8198E #DE21BB

Accessibility & contrast

On white

10.60
#731161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#731161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731161
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731161#FFFFFF#000000##FFFFFF
##7311611.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#39445F
Tritanopia (blue-blind)
#7A1839
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731161;
/* rgb */ color: rgb(115, 17, 97);
/* oklch */ color: oklch(38.7% 0.155 337.3);
Tailwind
colors: {
  custom: {
    50: '#9f5d8e',
    500: '#731161',
    950: '#000000',
  },
}
SCSS
$custom: #731161;
$custom-light: #9f5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#731161",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 311.02,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.15503,
    "h": 337.3
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#731161
secondary
#36AA4B
accent
#F15937
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731161

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

Preview Lab → · Contrast checker → · Palette generator →

#731161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva