#42050F#42050F

#42050F is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.7% C 0.090 H 18.5°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#42050F
RGBrgb(66, 5, 15)
HSLhsl(350, 86%, 14%)
HSVhsv(350, 92%, 26%)
CMYKcmyk(0%, 92.4%, 77.3%, 74.1%)
CIE-LABlab(11.29, 28.81, 11.20)
CIE-LCHlch(11.29, 30.92, 21.24°)
OKLaboklab(24.65% 0.0854 0.0285)
OKLCHoklch(24.65% 0.09 18.5)
XYZxyz(2.3875, 1.3017, 0.5774)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42050F #054238
analogous
#42052E #42050F #421A05
triadic
#42050F #0F4205 #050F42
tetradic
#42050F #2E4205 #054238 #1A0542
square
#42050F #2E4205 #054238 #1A0542
split-complementary
#42050F #05421A #052E42
monochromatic
#1C0206 #1C0206 #42050F #7B091C #B40E29

Accessibility & contrast

On white

16.66
#42050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#42050F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42050F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42050F#FFFFFF#000000##FFFFFF
##42050F1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18160F
Deuteranopia (green-blind)
#27230D
Tritanopia (blue-blind)
#490009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #42050f;
/* rgb */ color: rgb(66, 5, 15);
/* oklch */ color: oklch(24.7% 0.090 18.5);
Tailwind
colors: {
  custom: {
    50: '#7c4c4d',
    500: '#42050f',
    950: '#000000',
  },
}
SCSS
$custom: #42050f;
$custom-light: #7c4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#42050f",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 350.164,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24651,
    "c": 0.09002,
    "h": 18.5
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#42050F
secondary
#208272
accent
#FCDA2C
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #42050F

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

Preview Lab → · Contrast checker → · Palette generator →

#42050F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva