#310510#310510

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

Color values

HEX#310510
RGBrgb(49, 5, 16)
HSLhsl(345, 81%, 11%)
HSVhsv(345, 90%, 19%)
CMYKcmyk(0%, 89.8%, 67.3%, 80.8%)
CIE-LABlab(7.22, 22.91, 4.29)
CIE-LCHlch(7.22, 23.31, 10.61°)
OKLaboklab(20.9% 0.0698 0.0132)
OKLCHoklch(20.9% 0.071 10.7)
XYZxyz(1.4146, 0.7991, 0.5699)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310510 #053126
analogous
#310526 #310510 #311005
triadic
#310510 #103105 #051031
tetradic
#310510 #263105 #053126 #100531
square
#310510 #263105 #053126 #100531
split-complementary
#310510 #053110 #052631
monochromatic
#1C0309 #1C0309 #310510 #690B22 #A01034

Accessibility & contrast

On white

18.11
#310510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310510
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310510#FFFFFF#000000##FFFFFF
##3105101.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101010
Deuteranopia (green-blind)
#1C190F
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310510;
/* rgb */ color: rgb(49, 5, 16);
/* oklch */ color: oklch(20.9% 0.071 10.7);
Tailwind
colors: {
  custom: {
    50: '#6d494e',
    500: '#310510',
    950: '#000000',
  },
}
SCSS
$custom: #310510;
$custom-light: #6d494e;
$custom-dark: #000000;
JSON
{
  "hex": "#310510",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 16
  },
  "hsl": {
    "h": 345,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20902,
    "c": 0.071,
    "h": 10.7
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#310510
secondary
#1F725E
accent
#F8C630
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310510

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

Preview Lab → · Contrast checker → · Palette generator →

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