#42150F#42150F

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

Color values

HEX#42150F
RGBrgb(66, 21, 15)
HSLhsl(7, 63%, 16%)
HSVhsv(7, 77%, 26%)
CMYKcmyk(0%, 68.2%, 77.3%, 74.1%)
CIE-LABlab(14.00, 21.38, 14.86)
CIE-LCHlch(14.00, 26.03, 34.79°)
OKLaboklab(26.67% 0.0618 0.0358)
OKLCHoklch(26.67% 0.071 30.1)
XYZxyz(2.6014, 1.7294, 0.6487)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42150F #0F3C42
analogous
#420F22 #42150F #422E0F
triadic
#42150F #0F4215 #150F42
tetradic
#42150F #22420F #0F3C42 #2E0F42
square
#42150F #22420F #0F3C42 #2E0F42
split-complementary
#42150F #0F422E #0F2242
monochromatic
#190806 #190806 #42150F #74251A #A63526

Accessibility & contrast

On white

15.60
#42150F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42150F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42150F#FFFFFF#000000##FFFFFF
##42150F1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42150f;
/* rgb */ color: rgb(66, 21, 15);
/* oklch */ color: oklch(26.7% 0.071 30.1);
Tailwind
colors: {
  custom: {
    50: '#7b544e',
    500: '#42150f',
    950: '#000000',
  },
}
SCSS
$custom: #42150f;
$custom-light: #7b544e;
$custom-dark: #000000;
JSON
{
  "hex": "#42150f",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 7.059,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.07143,
    "h": 30.1
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#42150F
secondary
#30747C
accent
#D3E642
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42150F

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

Preview Lab → · Contrast checker → · Palette generator →

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