#311024#311024

#311024 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.4% C 0.061 H 345.5°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#311024
RGBrgb(49, 16, 36)
HSLhsl(324, 51%, 13%)
HSVhsv(324, 67%, 19%)
CMYKcmyk(0%, 67.3%, 26.5%, 80.8%)
CIE-LABlab(10.19, 19.65, -5.77)
CIE-LCHlch(10.19, 20.47, 343.63°)
OKLaboklab(23.37% 0.0589 -0.0153)
OKLCHoklch(23.37% 0.061 345.5)
XYZxyz(1.7704, 1.1511, 1.7977)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311024 #10311D
analogous
#2D1031 #311024 #311014
triadic
#311024 #243110 #102431
tetradic
#311024 #312D10 #10311D #101431
square
#311024 #312D10 #10311D #101431
split-complementary
#311024 #143110 #10312D
monochromatic
#170811 #170811 #311024 #5F1F46 #8D2E68

Accessibility & contrast

On white

17.07
#311024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#311024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311024
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311024#FFFFFF#000000##FFFFFF
##3110241.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131825
Deuteranopia (green-blind)
#1C1E23
Tritanopia (blue-blind)
#351018
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #311024;
/* rgb */ color: rgb(49, 16, 36);
/* oklch */ color: oklch(23.4% 0.061 345.5);
Tailwind
colors: {
  custom: {
    50: '#6a505e',
    500: '#311024',
    950: '#000000',
  },
}
SCSS
$custom: #311024;
$custom-light: #6a505e;
$custom-dark: #000000;
JSON
{
  "hex": "#311024",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 323.636,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23374,
    "c": 0.06085,
    "h": 345.5
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#311024
secondary
#336A48
accent
#DA854E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #311024

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

Preview Lab → · Contrast checker → · Palette generator →

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