#42182D#42182D

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

Color values

HEX#42182D
RGBrgb(66, 24, 45)
HSLhsl(330, 47%, 18%)
HSVhsv(330, 64%, 26%)
CMYKcmyk(0%, 63.6%, 31.8%, 74.1%)
CIE-LABlab(15.49, 23.09, -4.08)
CIE-LCHlch(15.49, 23.45, 349.98°)
OKLaboklab(28.08% 0.0699 -0.0105)
OKLCHoklch(28.08% 0.071 351.4)
XYZxyz(3.0472, 2.0013, 2.7079)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42182D #18422D
analogous
#421842 #42182D #421818
triadic
#42182D #2D4218 #182D42
tetradic
#42182D #424218 #18422D #181842
square
#42182D #424218 #18422D #181842
split-complementary
#42182D #184218 #184242
monochromatic
#16080F #16080F #42182D #6F284C #9C396A

Accessibility & contrast

On white

15.00
#42182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42182D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42182D#FFFFFF#000000##FFFFFF
##42182D1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42182d;
/* rgb */ color: rgb(66, 24, 45);
/* oklch */ color: oklch(28.1% 0.071 351.4);
Tailwind
colors: {
  custom: {
    50: '#785765',
    500: '#42182d',
    950: '#000000',
  },
}
SCSS
$custom: #42182d;
$custom-light: #785765;
$custom-dark: #000000;
JSON
{
  "hex": "#42182d",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 330,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28075,
    "c": 0.07072,
    "h": 351.4
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#42182D
secondary
#3D795B
accent
#D69451
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42182D

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

Preview Lab → · Contrast checker → · Palette generator →

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