#310422#310422

#310422 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 344.7°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#310422
RGBrgb(49, 4, 34)
HSLhsl(320, 85%, 10%)
HSVhsv(320, 92%, 19%)
CMYKcmyk(0%, 91.8%, 30.6%, 80.8%)
CIE-LABlab(7.73, 25.84, -8.02)
CIE-LCHlch(7.73, 27.05, 342.76°)
OKLaboklab(21.53% 0.0784 -0.0214)
OKLCHoklch(21.53% 0.081 344.7)
XYZxyz(1.5988, 0.8555, 1.5940)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310422 #043113
analogous
#290431 #310422 #31040B
triadic
#310422 #223104 #042231
tetradic
#310422 #312904 #043113 #040B31
square
#310422 #312904 #043113 #040B31
split-complementary
#310422 #0B3104 #043129
monochromatic
#1C0214 #1C0214 #310422 #6A0949 #A20D71

Accessibility & contrast

On white

17.93
#310422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310422
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310422#FFFFFF#000000##FFFFFF
##3104221.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#171A21
Tritanopia (blue-blind)
#350412
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310422;
/* rgb */ color: rgb(49, 4, 34);
/* oklch */ color: oklch(21.5% 0.081 344.7);
Tailwind
colors: {
  custom: {
    50: '#6c495d',
    500: '#310422',
    950: '#000000',
  },
}
SCSS
$custom: #310422;
$custom-light: #6c495d;
$custom-dark: #000000;
JSON
{
  "hex": "#310422",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 320,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21532,
    "c": 0.08127,
    "h": 344.7
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#310422
secondary
#1D733A
accent
#FB712D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310422

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

Preview Lab → · Contrast checker → · Palette generator →

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