#42081D#42081D

#42081D is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.088 H 4.7°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#42081D
RGBrgb(66, 8, 29)
HSLhsl(338, 78%, 15%)
HSVhsv(338, 88%, 26%)
CMYKcmyk(0%, 87.9%, 56.1%, 74.1%)
CIE-LABlab(12.10, 28.69, 2.71)
CIE-LCHlch(12.10, 28.81, 5.39°)
OKLaboklab(25.37% 0.0878 0.0072)
OKLCHoklch(25.37% 0.088 4.7)
XYZxyz(2.5556, 1.4210, 1.3019)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42081D #08422D
analogous
#42083A #42081D #421008
triadic
#42081D #1D4208 #081D42
tetradic
#42081D #3A4208 #08422D #100842
square
#42081D #3A4208 #08422D #100842
split-complementary
#42081D #084210 #083A42
monochromatic
#1B030C #1B030C #42081D #790F35 #AF154D

Accessibility & contrast

On white

16.35
#42081D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#42081D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42081D
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42081D#FFFFFF#000000##FFFFFF
##42081D1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181D
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#490011
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42081d;
/* rgb */ color: rgb(66, 8, 29);
/* oklch */ color: oklch(25.4% 0.088 4.7);
Tailwind
colors: {
  custom: {
    50: '#7a4e58',
    500: '#42081d',
    950: '#000000',
  },
}
SCSS
$custom: #42081d;
$custom-light: #7a4e58;
$custom-dark: #000000;
JSON
{
  "hex": "#42081d",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 29
  },
  "hsl": {
    "h": 338.276,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25367,
    "c": 0.08808,
    "h": 4.7
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#42081D
secondary
#25805F
accent
#F5AF33
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42081D

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

Preview Lab → · Contrast checker → · Palette generator →

#42081D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva