#42121C#42121C

#42121C is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.074 H 11.2°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#42121C
RGBrgb(66, 18, 28)
HSLhsl(348, 57%, 16%)
HSVhsv(348, 73%, 26%)
CMYKcmyk(0%, 72.7%, 57.6%, 74.1%)
CIE-LABlab(13.68, 24.12, 5.69)
CIE-LCHlch(13.68, 24.78, 13.27°)
OKLaboklab(26.53% 0.073 0.0145)
OKLCHoklch(26.53% 0.074 11.2)
XYZxyz(2.6729, 1.6750, 1.2809)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42121C #124238
analogous
#421234 #42121C #422012
triadic
#42121C #1C4212 #121C42
tetradic
#42121C #344212 #124238 #201242
square
#42121C #344212 #124238 #201242
split-complementary
#42121C #124220 #123442
monochromatic
#18070A #18070A #42121C #721F30 #A22C45

Accessibility & contrast

On white

15.73
#42121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42121C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42121C#FFFFFF#000000##FFFFFF
##42121C1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1C
Deuteranopia (green-blind)
#29271B
Tritanopia (blue-blind)
#490A16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42121c;
/* rgb */ color: rgb(66, 18, 28);
/* oklch */ color: oklch(26.5% 0.074 11.2);
Tailwind
colors: {
  custom: {
    50: '#7a5357',
    500: '#42121c',
    950: '#000000',
  },
}
SCSS
$custom: #42121c;
$custom-light: #7a5357;
$custom-dark: #000000;
JSON
{
  "hex": "#42121c",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 347.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26531,
    "c": 0.07447,
    "h": 11.2
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#42121C
secondary
#357B6C
accent
#E0C147
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42121C

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

Preview Lab → · Contrast checker → · Palette generator →

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