#3D151F#3D151F

#3D151F is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.2% C 0.064 H 7.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3D151F
RGBrgb(61, 21, 31)
HSLhsl(345, 49%, 16%)
HSVhsv(345, 66%, 24%)
CMYKcmyk(0%, 65.6%, 49.2%, 76.1%)
CIE-LABlab(13.40, 20.79, 2.94)
CIE-LCHlch(13.40, 20.99, 8.04°)
OKLaboklab(26.16% 0.0632 0.0078)
OKLCHoklch(26.16% 0.064 7)
XYZxyz(2.4401, 1.6276, 1.4817)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D151F #153D33
analogous
#3D1533 #3D151F #3D1F15
triadic
#3D151F #1F3D15 #151F3D
tetradic
#3D151F #333D15 #153D33 #1F153D
square
#3D151F #333D15 #153D33 #1F153D
split-complementary
#3D151F #153D1F #15333D
monochromatic
#17080C #17080C #3D151F #6B2536 #98344D

Accessibility & contrast

On white

15.84
#3D151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3D151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D151F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D151F#FFFFFF#000000##FFFFFF
##3D151F1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1F
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#431019
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d151f;
/* rgb */ color: rgb(61, 21, 31);
/* oklch */ color: oklch(26.2% 0.064 7.0);
Tailwind
colors: {
  custom: {
    50: '#75545a',
    500: '#3d151f',
    950: '#000000',
  },
}
SCSS
$custom: #3d151f;
$custom-light: #75545a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d151f",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 345,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26157,
    "c": 0.0637,
    "h": 7
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#3D151F
secondary
#397566
accent
#D8B64F
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3D151F

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

Preview Lab → · Contrast checker → · Palette generator →

#3D151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva