#310411#310411

#310411 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 8.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#310411
RGBrgb(49, 4, 17)
HSLhsl(343, 85%, 10%)
HSVhsv(343, 92%, 19%)
CMYKcmyk(0%, 91.8%, 65.3%, 80.8%)
CIE-LABlab(7.05, 23.54, 3.48)
CIE-LCHlch(7.05, 23.80, 8.41°)
OKLaboklab(20.78% 0.0722 0.0107)
OKLCHoklch(20.78% 0.073 8.5)
XYZxyz(1.4114, 0.7805, 0.6065)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310411 #043124
analogous
#310427 #310411 #310D04
triadic
#310411 #113104 #041131
tetradic
#310411 #273104 #043124 #0D0431
square
#310411 #273104 #043124 #0D0431
split-complementary
#310411 #04310D #042731
monochromatic
#1C020A #1C020A #310411 #6A0925 #A20D38

Accessibility & contrast

On white

18.17
#310411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310411
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310411#FFFFFF#000000##FFFFFF
##3104111.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1011
Deuteranopia (green-blind)
#1B1910
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310411;
/* rgb */ color: rgb(49, 4, 17);
/* oklch */ color: oklch(20.8% 0.073 8.5);
Tailwind
colors: {
  custom: {
    50: '#6d484f',
    500: '#310411',
    950: '#000000',
  },
}
SCSS
$custom: #310411;
$custom-light: #6d484f;
$custom-dark: #000000;
JSON
{
  "hex": "#310411",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 17
  },
  "hsl": {
    "h": 342.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20778,
    "c": 0.07297,
    "h": 8.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#310411
secondary
#1D735B
accent
#FBC02D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310411

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

Preview Lab → · Contrast checker → · Palette generator →

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