#731863#731863

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

Color values

HEX#731863
RGBrgb(115, 24, 99)
HSLhsl(311, 65%, 27%)
HSVhsv(311, 79%, 45%)
CMYKcmyk(0%, 79.1%, 13.9%, 54.9%)
CIE-LABlab(27.30, 46.63, -22.03)
CIE-LCHlch(27.30, 51.57, 334.71°)
OKLaboklab(39.31% 0.137 -0.06)
OKLCHoklch(39.31% 0.15 336.3)
XYZxyz(9.6492, 5.1999, 12.2975)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731863 #187328
analogous
#551873 #731863 #731836
triadic
#731863 #637318 #186373
tetradic
#731863 #735518 #187328 #183673
square
#731863 #735518 #187328 #183673
split-complementary
#731863 #367318 #187355
monochromatic
#190516 #400D37 #731863 #A6238F #D431B7

Accessibility & contrast

On white

10.30
#731863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731863
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731863#FFFFFF#000000##FFFFFF
##7318631.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3865
Deuteranopia (green-blind)
#3A4561
Tritanopia (blue-blind)
#791F3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731863;
/* rgb */ color: rgb(115, 24, 99);
/* oklch */ color: oklch(39.3% 0.150 336.3);
Tailwind
colors: {
  custom: {
    50: '#9f608f',
    500: '#731863',
    950: '#000000',
  },
}
SCSS
$custom: #731863;
$custom-light: #9f608f;
$custom-dark: #000000;
JSON
{
  "hex": "#731863",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 310.549,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39309,
    "c": 0.14958,
    "h": 336.3
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#731863
secondary
#3FA851
accent
#E85D3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731863

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

Preview Lab → · Contrast checker → · Palette generator →

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