#310722#310722

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

Color values

HEX#310722
RGBrgb(49, 7, 34)
HSLhsl(321, 75%, 11%)
HSVhsv(321, 86%, 19%)
CMYKcmyk(0%, 85.7%, 30.6%, 80.8%)
CIE-LABlab(8.31, 24.18, -7.12)
CIE-LCHlch(8.31, 25.21, 343.60°)
OKLaboklab(21.96% 0.0732 -0.0189)
OKLCHoklch(21.96% 0.076 345.5)
XYZxyz(1.6314, 0.9206, 1.6048)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310722 #073116
analogous
#2B0731 #310722 #31070D
triadic
#310722 #223107 #072231
tetradic
#310722 #312B07 #073116 #070D31
square
#310722 #312B07 #073116 #070D31
split-complementary
#310722 #0D3107 #07312B
monochromatic
#1B0413 #1B0413 #310722 #670F47 #9C166C

Accessibility & contrast

On white

17.74
#310722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310722
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310722#FFFFFF#000000##FFFFFF
##3107221.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1423
Deuteranopia (green-blind)
#191B21
Tritanopia (blue-blind)
#350613
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310722;
/* rgb */ color: rgb(49, 7, 34);
/* oklch */ color: oklch(22.0% 0.076 345.5);
Tailwind
colors: {
  custom: {
    50: '#6b4b5d',
    500: '#310722',
    950: '#000000',
  },
}
SCSS
$custom: #310722;
$custom-light: #6b4b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310722",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 321.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21959,
    "c": 0.07564,
    "h": 345.5
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#310722
secondary
#23713F
accent
#F27936
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310722

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

Preview Lab → · Contrast checker → · Palette generator →

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