#310511#310511

#310511 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.071 H 9.3°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#310511
RGBrgb(49, 5, 17)
HSLhsl(344, 81%, 11%)
HSVhsv(344, 90%, 19%)
CMYKcmyk(0%, 89.8%, 65.3%, 80.8%)
CIE-LABlab(7.25, 23.01, 3.77)
CIE-LCHlch(7.25, 23.32, 9.29°)
OKLaboklab(20.93% 0.0702 0.0115)
OKLCHoklch(20.93% 0.071 9.3)
XYZxyz(1.4222, 0.8022, 0.6102)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310511 #053125
analogous
#310527 #310511 #310F05
triadic
#310511 #113105 #051131
tetradic
#310511 #273105 #053125 #0F0531
square
#310511 #273105 #053125 #0F0531
split-complementary
#310511 #05310F #052731
monochromatic
#1C030A #1C030A #310511 #690B24 #A01038

Accessibility & contrast

On white

18.10
#310511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310511
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310511#FFFFFF#000000##FFFFFF
##3105111.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101011
Deuteranopia (green-blind)
#1C1910
Tritanopia (blue-blind)
#36000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310511;
/* rgb */ color: rgb(49, 5, 17);
/* oklch */ color: oklch(20.9% 0.071 9.3);
Tailwind
colors: {
  custom: {
    50: '#6c494f',
    500: '#310511',
    950: '#000000',
  },
}
SCSS
$custom: #310511;
$custom-light: #6c494f;
$custom-dark: #000000;
JSON
{
  "hex": "#310511",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 17
  },
  "hsl": {
    "h": 343.636,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20933,
    "c": 0.07117,
    "h": 9.3
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#310511
secondary
#1F725C
accent
#F8C130
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310511

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

Preview Lab → · Contrast checker → · Palette generator →

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