#42150E#42150E

#42150E is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.7% C 0.072 H 31.1°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#42150E
RGBrgb(66, 21, 14)
HSLhsl(8, 65%, 16%)
HSVhsv(8, 79%, 26%)
CMYKcmyk(0%, 68.2%, 78.8%, 74.1%)
CIE-LABlab(13.98, 21.32, 15.35)
CIE-LCHlch(13.98, 26.27, 35.76°)
OKLaboklab(26.66% 0.0614 0.0371)
OKLCHoklch(26.66% 0.072 31.1)
XYZxyz(2.5945, 1.7266, 0.6120)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42150E #0E3B42
analogous
#420E21 #42150E #422F0E
triadic
#42150E #0E4215 #150E42
tetradic
#42150E #21420E #0E3B42 #2F0E42
square
#42150E #21420E #0E3B42 #2F0E42
split-complementary
#42150E #0E422F #0E2142
monochromatic
#190805 #190805 #42150E #742519 #A73523

Accessibility & contrast

On white

15.61
#42150E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42150E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42150E
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42150E#FFFFFF#000000##FFFFFF
##42150E1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0D
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#490B14
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42150e;
/* rgb */ color: rgb(66, 21, 14);
/* oklch */ color: oklch(26.7% 0.072 31.1);
Tailwind
colors: {
  custom: {
    50: '#7b544d',
    500: '#42150e',
    950: '#000000',
  },
}
SCSS
$custom: #42150e;
$custom-light: #7b544d;
$custom-dark: #000000;
JSON
{
  "hex": "#42150e",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 14
  },
  "hsl": {
    "h": 8.077,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26658,
    "c": 0.07171,
    "h": 31.1
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#42150E
secondary
#2F727D
accent
#D1E840
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42150E

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

Preview Lab → · Contrast checker → · Palette generator →

#42150E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva