#42150B#42150B

#42150B is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.073 H 34.1°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#42150B
RGBrgb(66, 21, 11)
HSLhsl(11, 71%, 15%)
HSVhsv(11, 83%, 26%)
CMYKcmyk(0%, 68.2%, 83.3%, 74.1%)
CIE-LABlab(13.94, 21.14, 16.70)
CIE-LCHlch(13.94, 26.94, 38.31°)
OKLaboklab(26.61% 0.0601 0.0406)
OKLCHoklch(26.61% 0.073 34.1)
XYZxyz(2.5756, 1.7191, 0.5127)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42150B #0B3842
analogous
#420B1C #42150B #42300B
triadic
#42150B #0B4215 #150B42
tetradic
#42150B #1C420B #0B3842 #300B42
square
#42150B #1C420B #0B3842 #300B42
split-complementary
#42150B #0B4230 #0B1C42
monochromatic
#1A0804 #1A0804 #42150B #762614 #AB361C

Accessibility & contrast

On white

15.63
#42150B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42150B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42150B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42150B#FFFFFF#000000##FFFFFF
##42150B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0A
Deuteranopia (green-blind)
#2C270A
Tritanopia (blue-blind)
#490B13
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42150b;
/* rgb */ color: rgb(66, 21, 11);
/* oklch */ color: oklch(26.6% 0.073 34.1);
Tailwind
colors: {
  custom: {
    50: '#7b544b',
    500: '#42150b',
    950: '#000000',
  },
}
SCSS
$custom: #42150b;
$custom-light: #7b544b;
$custom-dark: #000000;
JSON
{
  "hex": "#42150b",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 11
  },
  "hsl": {
    "h": 10.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26611,
    "c": 0.07256,
    "h": 34.1
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#42150B
secondary
#2A6F7F
accent
#CDEE3A
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42150B

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

Preview Lab → · Contrast checker → · Palette generator →

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