#42130C#42130C

#42130C is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.3% C 0.075 H 31.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#42130C
RGBrgb(66, 19, 12)
HSLhsl(8, 69%, 15%)
HSVhsv(8, 82%, 26%)
CMYKcmyk(0%, 71.2%, 81.8%, 74.1%)
CIE-LABlab(13.54, 22.30, 15.73)
CIE-LCHlch(13.54, 27.28, 35.20°)
OKLaboklab(26.31% 0.064 0.0385)
OKLCHoklch(26.31% 0.075 31)
XYZxyz(2.5463, 1.6509, 0.5323)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42130C #0C3B42
analogous
#420C20 #42130C #422E0C
triadic
#42130C #0C4213 #130C42
tetradic
#42130C #20420C #0C3B42 #2E0C42
square
#42130C #20420C #0C3B42 #2E0C42
split-complementary
#42130C #0C422E #0C2042
monochromatic
#1A0705 #1A0705 #42130C #762215 #AA311F

Accessibility & contrast

On white

15.79
#42130C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42130C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42130C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42130C#FFFFFF#000000##FFFFFF
##42130C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0B
Deuteranopia (green-blind)
#2C260B
Tritanopia (blue-blind)
#490812
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42130c;
/* rgb */ color: rgb(66, 19, 12);
/* oklch */ color: oklch(26.3% 0.075 31.0);
Tailwind
colors: {
  custom: {
    50: '#7b534c',
    500: '#42130c',
    950: '#000000',
  },
}
SCSS
$custom: #42130c;
$custom-light: #7b534c;
$custom-dark: #000000;
JSON
{
  "hex": "#42130c",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 12
  },
  "hsl": {
    "h": 7.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26313,
    "c": 0.07463,
    "h": 31
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#42130C
secondary
#2C737E
accent
#D5EC3C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #42130C

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

Preview Lab → · Contrast checker → · Palette generator →

#42130C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva