#42182E#42182E

#42182E is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.071 H 350.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#42182E
RGBrgb(66, 24, 46)
HSLhsl(329, 47%, 18%)
HSVhsv(329, 64%, 26%)
CMYKcmyk(0%, 63.6%, 30.3%, 74.1%)
CIE-LABlab(15.53, 23.25, -4.74)
CIE-LCHlch(15.53, 23.73, 348.49°)
OKLaboklab(28.12% 0.0703 -0.0123)
OKLCHoklch(28.12% 0.071 350.1)
XYZxyz(3.0667, 2.0091, 2.8105)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42182E #18422C
analogous
#411842 #42182E #421819
triadic
#42182E #2E4218 #182E42
tetradic
#42182E #424118 #18422C #181942
square
#42182E #424118 #18422C #181942
split-complementary
#42182E #194218 #184241
monochromatic
#160810 #160810 #42182E #6F284D #9C396D

Accessibility & contrast

On white

14.98
#42182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#42182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42182E
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42182E#FFFFFF#000000##FFFFFF
##42182E1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#282A2D
Tritanopia (blue-blind)
#471621
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42182e;
/* rgb */ color: rgb(66, 24, 46);
/* oklch */ color: oklch(28.1% 0.071 350.1);
Tailwind
colors: {
  custom: {
    50: '#785766',
    500: '#42182e',
    950: '#000000',
  },
}
SCSS
$custom: #42182e;
$custom-light: #785766;
$custom-dark: #000000;
JSON
{
  "hex": "#42182e",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 328.571,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28119,
    "c": 0.07137,
    "h": 350.1
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#42182E
secondary
#3D7959
accent
#D69151
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42182E

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

Preview Lab → · Contrast checker → · Palette generator →

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