#42182C#42182C

#42182C is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.0% C 0.070 H 352.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#42182C
RGBrgb(66, 24, 44)
HSLhsl(331, 47%, 18%)
HSVhsv(331, 64%, 26%)
CMYKcmyk(0%, 63.6%, 33.3%, 74.1%)
CIE-LABlab(15.45, 22.93, -3.42)
CIE-LCHlch(15.45, 23.18, 351.52°)
OKLaboklab(28.03% 0.0696 -0.0088)
OKLCHoklch(28.03% 0.07 352.8)
XYZxyz(3.0282, 1.9937, 2.6077)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42182C #18422E
analogous
#421841 #42182C #421918
triadic
#42182C #2C4218 #182C42
tetradic
#42182C #414218 #18422E #191842
square
#42182C #414218 #18422E #191842
split-complementary
#42182C #184219 #184142
monochromatic
#16080F #16080F #42182C #6F284A #9C3968

Accessibility & contrast

On white

15.02
#42182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42182C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42182C#FFFFFF#000000##FFFFFF
##42182C1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#29292B
Tritanopia (blue-blind)
#471620
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42182c;
/* rgb */ color: rgb(66, 24, 44);
/* oklch */ color: oklch(28.0% 0.070 352.8);
Tailwind
colors: {
  custom: {
    50: '#785765',
    500: '#42182c',
    950: '#000000',
  },
}
SCSS
$custom: #42182c;
$custom-light: #785765;
$custom-dark: #000000;
JSON
{
  "hex": "#42182c",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 331.429,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28032,
    "c": 0.07011,
    "h": 352.8
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#42182C
secondary
#3D795C
accent
#D69751
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42182C

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

Preview Lab → · Contrast checker → · Palette generator →

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