#310322#310322

#310322 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.083 H 344.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#310322
RGBrgb(49, 3, 34)
HSLhsl(320, 88%, 10%)
HSVhsv(320, 94%, 19%)
CMYKcmyk(0%, 93.9%, 30.6%, 80.8%)
CIE-LABlab(7.53, 26.39, -8.32)
CIE-LCHlch(7.53, 27.67, 342.51°)
OKLaboklab(21.39% 0.0802 -0.0222)
OKLCHoklch(21.39% 0.083 344.5)
XYZxyz(1.5880, 0.8338, 1.5904)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310322 #033112
analogous
#290331 #310322 #31030B
triadic
#310322 #223103 #032231
tetradic
#310322 #312903 #033112 #030B31
square
#310322 #312903 #033112 #030B31
split-complementary
#310322 #0B3103 #033129
monochromatic
#1D0214 #1D0214 #310322 #6B074A #A40A72

Accessibility & contrast

On white

18.00
#310322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310322
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310322#FFFFFF#000000##FFFFFF
##3103221.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081123
Deuteranopia (green-blind)
#171921
Tritanopia (blue-blind)
#350311
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310322;
/* rgb */ color: rgb(49, 3, 34);
/* oklch */ color: oklch(21.4% 0.083 344.5);
Tailwind
colors: {
  custom: {
    50: '#6c485d',
    500: '#310322',
    950: '#000000',
  },
}
SCSS
$custom: #310322;
$custom-light: #6c485d;
$custom-dark: #000000;
JSON
{
  "hex": "#310322",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 319.565,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21386,
    "c": 0.08324,
    "h": 344.5
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#310322
secondary
#1B7438
accent
#FF6F29
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310322

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

Preview Lab → · Contrast checker → · Palette generator →

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