#42242E#42242E

#42242E is a dark, muted pink. Relative luminance 0.026; OKLCH L 30.3% C 0.048 H 358.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#42242E
RGBrgb(66, 36, 46)
HSLhsl(340, 29%, 20%)
HSVhsv(340, 45%, 26%)
CMYKcmyk(0%, 45.5%, 30.3%, 74.1%)
CIE-LABlab(18.44, 15.82, -0.43)
CIE-LCHlch(18.44, 15.82, 358.45°)
OKLaboklab(30.31% 0.0478 -0.0009)
OKLCHoklch(30.31% 0.048 358.9)
XYZxyz(3.3709, 2.6175, 2.9119)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42242E #244238
analogous
#42243D #42242E #422924
triadic
#42242E #2E4224 #242E42
tetradic
#42242E #3D4224 #244238 #292442
square
#42242E #3D4224 #244238 #292442
split-complementary
#42242E #244229 #243D42
monochromatic
#140B0E #1A0E12 #42242E #6A3A4A #914F65

Accessibility & contrast

On white

13.78
#42242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#42242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42242E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42242E#FFFFFF#000000##FFFFFF
##42242E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2E
Deuteranopia (green-blind)
#2F2F2D
Tritanopia (blue-blind)
#472228
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #42242e;
/* rgb */ color: rgb(66, 36, 46);
/* oklch */ color: oklch(30.3% 0.048 358.9);
Tailwind
colors: {
  custom: {
    50: '#775f66',
    500: '#42242e',
    950: '#000000',
  },
}
SCSS
$custom: #42242e;
$custom-light: #775f66;
$custom-dark: #000000;
JSON
{
  "hex": "#42242e",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 340,
    "s": 29.412,
    "l": 20
  },
  "oklch": {
    "l": 0.30307,
    "c": 0.04776,
    "h": 358.9
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#42242E
secondary
#4D7568
accent
#C6A462
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090406
muted
#7B797A

Preview Lab

Preview with #42242E

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

Preview Lab → · Contrast checker → · Palette generator →

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