#42081E#42081E

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

Color values

HEX#42081E
RGBrgb(66, 8, 30)
HSLhsl(337, 78%, 15%)
HSVhsv(337, 88%, 26%)
CMYKcmyk(0%, 87.9%, 54.5%, 74.1%)
CIE-LABlab(12.13, 28.79, 2.00)
CIE-LCHlch(12.13, 28.86, 3.98°)
OKLaboklab(25.4% 0.0882 0.0054)
OKLCHoklch(25.4% 0.088 3.5)
XYZxyz(2.5682, 1.4260, 1.3681)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42081E #08422C
analogous
#42083B #42081E #420F08
triadic
#42081E #1E4208 #081E42
tetradic
#42081E #3B4208 #08422C #0F0842
square
#42081E #3B4208 #08422C #0F0842
split-complementary
#42081E #08420F #083B42
monochromatic
#1B030C #1B030C #42081E #790F37 #AF1550

Accessibility & contrast

On white

16.34
#42081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#42081E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42081E
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42081E#FFFFFF#000000##FFFFFF
##42081E1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16191E
Deuteranopia (green-blind)
#26241D
Tritanopia (blue-blind)
#490012
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42081e;
/* rgb */ color: rgb(66, 8, 30);
/* oklch */ color: oklch(25.4% 0.088 3.5);
Tailwind
colors: {
  custom: {
    50: '#7a4e59',
    500: '#42081e',
    950: '#000000',
  },
}
SCSS
$custom: #42081e;
$custom-light: #7a4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#42081e",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 337.241,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25402,
    "c": 0.08839,
    "h": 3.5
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#42081E
secondary
#25805E
accent
#F5AB33
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42081E

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

Preview Lab → · Contrast checker → · Palette generator →

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