#731862#731862

#731862 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.149 H 336.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#731862
RGBrgb(115, 24, 98)
HSLhsl(311, 65%, 27%)
HSVhsv(311, 79%, 45%)
CMYKcmyk(0%, 79.1%, 14.8%, 54.9%)
CIE-LABlab(27.24, 46.47, -21.46)
CIE-LCHlch(27.24, 51.19, 335.22°)
OKLaboklab(39.25% 0.1369 -0.0584)
OKLCHoklch(39.25% 0.149 336.9)
XYZxyz(9.6017, 5.1808, 12.0472)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731862 #187329
analogous
#571873 #731862 #731834
triadic
#731862 #627318 #186273
tetradic
#731862 #735718 #187329 #183473
square
#731862 #735718 #187329 #183473
split-complementary
#731862 #347318 #187357
monochromatic
#190516 #400D37 #731862 #A6238D #D431B6

Accessibility & contrast

On white

10.31
#731862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731862
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731862#FFFFFF#000000##FFFFFF
##7318621.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#3A4560
Tritanopia (blue-blind)
#791E3B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731862;
/* rgb */ color: rgb(115, 24, 98);
/* oklch */ color: oklch(39.3% 0.149 336.9);
Tailwind
colors: {
  custom: {
    50: '#9f608f',
    500: '#731862',
    950: '#000000',
  },
}
SCSS
$custom: #731862;
$custom-light: #9f608f;
$custom-dark: #000000;
JSON
{
  "hex": "#731862",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 311.209,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.14884,
    "h": 336.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#731862
secondary
#3FA852
accent
#E85F3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731862

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

Preview Lab → · Contrast checker → · Palette generator →

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