#310620#310620

#310620 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.076 H 347.9°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#310620
RGBrgb(49, 6, 32)
HSLhsl(324, 78%, 11%)
HSVhsv(324, 88%, 19%)
CMYKcmyk(0%, 87.8%, 34.7%, 80.8%)
CIE-LABlab(8.02, 24.41, -6.03)
CIE-LCHlch(8.02, 25.15, 346.12°)
OKLaboklab(21.71% 0.0744 -0.0159)
OKLCHoklch(21.71% 0.076 347.9)
XYZxyz(1.5925, 0.8877, 1.4537)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310620 #063117
analogous
#2C0631 #310620 #31060A
triadic
#310620 #203106 #062031
tetradic
#310620 #312C06 #063117 #060A31
square
#310620 #312C06 #063117 #060A31
split-complementary
#310620 #0A3106 #06312C
monochromatic
#1B0312 #1B0312 #310620 #680D44 #9E1367

Accessibility & contrast

On white

17.83
#310620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310620
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310620#FFFFFF#000000##FFFFFF
##3106201.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1321
Deuteranopia (green-blind)
#191A1F
Tritanopia (blue-blind)
#350511
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310620;
/* rgb */ color: rgb(49, 6, 32);
/* oklch */ color: oklch(21.7% 0.076 347.9);
Tailwind
colors: {
  custom: {
    50: '#6b4a5b',
    500: '#310620',
    950: '#000000',
  },
}
SCSS
$custom: #310620;
$custom-light: #6b4a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#310620",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 32
  },
  "hsl": {
    "h": 323.721,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.07606,
    "h": 347.9
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#310620
secondary
#217241
accent
#F58033
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310620

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

Preview Lab → · Contrast checker → · Palette generator →

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