#731958#731958

#731958 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.8% C 0.141 H 342.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#731958
RGBrgb(115, 25, 88)
HSLhsl(318, 64%, 27%)
HSVhsv(318, 78%, 45%)
CMYKcmyk(0%, 78.3%, 23.5%, 54.9%)
CIE-LABlab(26.86, 44.64, -15.48)
CIE-LCHlch(26.86, 47.25, 340.87°)
OKLaboklab(38.82% 0.1344 -0.0415)
OKLCHoklch(38.82% 0.141 342.8)
XYZxyz(9.1796, 5.0456, 9.7211)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731958 #197334
analogous
#611973 #731958 #73192B
triadic
#731958 #587319 #195873
tetradic
#731958 #736119 #197334 #192B73
square
#731958 #736119 #197334 #192B73
split-complementary
#731958 #2B7319 #197361
monochromatic
#190513 #410E32 #731958 #A5247E #D334A3

Accessibility & contrast

On white

10.45
#731958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731958
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731958#FFFFFF#000000##FFFFFF
##7319581.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22365A
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#7B1936
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731958;
/* rgb */ color: rgb(115, 25, 88);
/* oklch */ color: oklch(38.8% 0.141 342.8);
Tailwind
colors: {
  custom: {
    50: '#9f6087',
    500: '#731958',
    950: '#000000',
  },
}
SCSS
$custom: #731958;
$custom-light: #9f6087;
$custom-dark: #000000;
JSON
{
  "hex": "#731958",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 318,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.1407,
    "h": 342.8
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#731958
secondary
#40A85F
accent
#E77341
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #731958

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

Preview Lab → · Contrast checker → · Palette generator →

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