#310923#310923

#310923 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.073 H 344.7°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#310923
RGBrgb(49, 9, 35)
HSLhsl(321, 69%, 11%)
HSVhsv(321, 82%, 19%)
CMYKcmyk(0%, 81.6%, 28.6%, 80.8%)
CIE-LABlab(8.74, 23.30, -7.23)
CIE-LCHlch(8.74, 24.39, 342.76°)
OKLaboklab(22.29% 0.0703 -0.0192)
OKLCHoklch(22.29% 0.073 344.7)
XYZxyz(1.6677, 0.9699, 1.6892)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310923 #093117
analogous
#2B0931 #310923 #31090F
triadic
#310923 #233109 #092331
tetradic
#310923 #312B09 #093117 #090F31
square
#310923 #312B09 #093117 #090F31
split-complementary
#310923 #0F3109 #09312B
monochromatic
#1A0512 #1A0512 #310923 #651248 #981C6D

Accessibility & contrast

On white

17.59
#310923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310923
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310923#FFFFFF#000000##FFFFFF
##3109231.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1524
Deuteranopia (green-blind)
#191B22
Tritanopia (blue-blind)
#350914
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310923;
/* rgb */ color: rgb(49, 9, 35);
/* oklch */ color: oklch(22.3% 0.073 344.7);
Tailwind
colors: {
  custom: {
    50: '#6b4c5d',
    500: '#310923',
    950: '#000000',
  },
}
SCSS
$custom: #310923;
$custom-light: #6b4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310923",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 35
  },
  "hsl": {
    "h": 321,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22287,
    "c": 0.07285,
    "h": 344.7
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#310923
secondary
#276F40
accent
#EC7A3C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310923

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

Preview Lab → · Contrast checker → · Palette generator →

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