#42182F#42182F

#42182F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.072 H 348.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#42182F
RGBrgb(66, 24, 47)
HSLhsl(327, 47%, 18%)
HSVhsv(327, 64%, 26%)
CMYKcmyk(0%, 63.6%, 28.8%, 74.1%)
CIE-LABlab(15.58, 23.42, -5.39)
CIE-LCHlch(15.58, 24.03, 347.03°)
OKLaboklab(28.16% 0.0707 -0.0141)
OKLCHoklch(28.16% 0.072 348.7)
XYZxyz(3.0866, 2.0170, 2.9155)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42182F #18422B
analogous
#401842 #42182F #42181A
triadic
#42182F #2F4218 #182F42
tetradic
#42182F #424018 #18422B #181A42
square
#42182F #424018 #18422B #181A42
split-complementary
#42182F #1A4218 #184240
monochromatic
#160810 #160810 #42182F #6F284F #9C396F

Accessibility & contrast

On white

14.96
#42182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42182F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42182F#FFFFFF#000000##FFFFFF
##42182F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2230
Deuteranopia (green-blind)
#282A2E
Tritanopia (blue-blind)
#471721
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42182f;
/* rgb */ color: rgb(66, 24, 47);
/* oklch */ color: oklch(28.2% 0.072 348.7);
Tailwind
colors: {
  custom: {
    50: '#785767',
    500: '#42182f',
    950: '#000000',
  },
}
SCSS
$custom: #42182f;
$custom-light: #785767;
$custom-dark: #000000;
JSON
{
  "hex": "#42182f",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 327.143,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28164,
    "c": 0.07205,
    "h": 348.7
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#42182F
secondary
#3D7958
accent
#D68E51
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42182F

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

Preview Lab → · Contrast checker → · Palette generator →

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