#42131B#42131B

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

Color values

HEX#42131B
RGBrgb(66, 19, 27)
HSLhsl(350, 55%, 17%)
HSVhsv(350, 71%, 26%)
CMYKcmyk(0%, 71.2%, 59.1%, 74.1%)
CIE-LABlab(13.85, 23.49, 6.65)
CIE-LCHlch(13.85, 24.41, 15.81°)
OKLaboklab(26.65% 0.0709 0.0168)
OKLCHoklch(26.65% 0.073 13.3)
XYZxyz(2.6777, 1.7035, 1.2245)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42131B #13423A
analogous
#421333 #42131B #422313
triadic
#42131B #1B4213 #131B42
tetradic
#42131B #334213 #13423A #231342
square
#42131B #334213 #13423A #231342
split-complementary
#42131B #134223 #133342
monochromatic
#18070A #18070A #42131B #72212E #A12E42

Accessibility & contrast

On white

15.66
#42131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42131B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42131B#FFFFFF#000000##FFFFFF
##42131B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D1B
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#490B16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42131b;
/* rgb */ color: rgb(66, 19, 27);
/* oklch */ color: oklch(26.6% 0.073 13.3);
Tailwind
colors: {
  custom: {
    50: '#7a5357',
    500: '#42131b',
    950: '#000000',
  },
}
SCSS
$custom: #42131b;
$custom-light: #7a5357;
$custom-dark: #000000;
JSON
{
  "hex": "#42131b",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 349.787,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26646,
    "c": 0.07287,
    "h": 13.3
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#42131B
secondary
#367B6F
accent
#DFC549
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #42131B

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

Preview Lab → · Contrast checker → · Palette generator →

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