#731162#731162

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

Color values

HEX#731162
RGBrgb(115, 17, 98)
HSLhsl(310, 74%, 26%)
HSVhsv(310, 85%, 45%)
CMYKcmyk(0%, 85.2%, 14.8%, 54.9%)
CIE-LABlab(26.53, 48.52, -22.58)
CIE-LCHlch(26.53, 53.52, 335.05°)
OKLaboklab(38.74% 0.143 -0.0616)
OKLCHoklch(38.74% 0.156 336.7)
XYZxyz(9.4755, 4.9285, 12.0052)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731162 #117322
analogous
#531173 #731162 #731131
triadic
#731162 #627311 #116273
tetradic
#731162 #735311 #117322 #113173
square
#731162 #735311 #117322 #113173
split-complementary
#731162 #317311 #117353
monochromatic
#1B0417 #3E0935 #731162 #A8198F #DE21BD

Accessibility & contrast

On white

10.58
#731162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#731162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731162
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731162#FFFFFF#000000##FFFFFF
##7311621.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#384460
Tritanopia (blue-blind)
#7A193A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731162;
/* rgb */ color: rgb(115, 17, 98);
/* oklch */ color: oklch(38.7% 0.156 336.7);
Tailwind
colors: {
  custom: {
    50: '#9f5e8f',
    500: '#731162',
    950: '#000000',
  },
}
SCSS
$custom: #731162;
$custom-light: #9f5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#731162",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 310.408,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.15573,
    "h": 336.7
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#731162
secondary
#36AA4A
accent
#F15737
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731162

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

Preview Lab → · Contrast checker → · Palette generator →

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