#42151E#42151E

#42151E is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 10.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#42151E
RGBrgb(66, 21, 30)
HSLhsl(348, 52%, 17%)
HSVhsv(348, 68%, 26%)
CMYKcmyk(0%, 68.2%, 54.5%, 74.1%)
CIE-LABlab(14.34, 22.73, 5.13)
CIE-LCHlch(14.34, 23.30, 12.73°)
OKLaboklab(27.04% 0.0689 0.0132)
OKLCHoklch(27.04% 0.07 10.9)
XYZxyz(2.7495, 1.7886, 1.4285)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42151E #154239
analogous
#421535 #42151E #422315
triadic
#42151E #1E4215 #151E42
tetradic
#42151E #354215 #154239 #231542
square
#42151E #354215 #154239 #231542
split-complementary
#42151E #154223 #153542
monochromatic
#17070B #17070B #42151E #702433 #9F3348

Accessibility & contrast

On white

15.47
#42151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#42151E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42151E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42151E#FFFFFF#000000##FFFFFF
##42151E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1E
Deuteranopia (green-blind)
#2A281D
Tritanopia (blue-blind)
#480F18
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42151e;
/* rgb */ color: rgb(66, 21, 30);
/* oklch */ color: oklch(27.0% 0.070 10.9);
Tailwind
colors: {
  custom: {
    50: '#795559',
    500: '#42151e',
    950: '#000000',
  },
}
SCSS
$custom: #42151e;
$custom-light: #795559;
$custom-dark: #000000;
JSON
{
  "hex": "#42151e",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 348,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.07014,
    "h": 10.9
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#42151E
secondary
#397A6D
accent
#DBBF4D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42151E

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

Preview Lab → · Contrast checker → · Palette generator →

#42151E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva