#731562#731562

#731562 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.152 H 336.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#731562
RGBrgb(115, 21, 98)
HSLhsl(311, 69%, 27%)
HSVhsv(311, 82%, 45%)
CMYKcmyk(0%, 81.7%, 14.8%, 54.9%)
CIE-LABlab(26.92, 47.41, -21.97)
CIE-LCHlch(26.92, 52.25, 335.14°)
OKLaboklab(39.02% 0.1397 -0.0599)
OKLCHoklch(39.02% 0.152 336.8)
XYZxyz(9.5432, 5.0639, 12.0277)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731562 #157326
analogous
#551573 #731562 #731533
triadic
#731562 #627315 #156273
tetradic
#731562 #735515 #157326 #153373
square
#731562 #735515 #157326 #153373
split-complementary
#731562 #337315 #157355
monochromatic
#1A0516 #3F0C36 #731562 #A71E8E #D82AB9

Accessibility & contrast

On white

10.43
#731562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#731562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731562
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731562#FFFFFF#000000##FFFFFF
##7315621.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183764
Deuteranopia (green-blind)
#394560
Tritanopia (blue-blind)
#791C3B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731562;
/* rgb */ color: rgb(115, 21, 98);
/* oklch */ color: oklch(39.0% 0.152 336.8);
Tailwind
colors: {
  custom: {
    50: '#9f5f8f',
    500: '#731562',
    950: '#000000',
  },
}
SCSS
$custom: #731562;
$custom-light: #9f5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#731562",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 310.851,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.152,
    "h": 336.8
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#731562
secondary
#3BA94F
accent
#EC5C3C
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731562

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

Preview Lab → · Contrast checker → · Palette generator →

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