#42262E#42262E

#42262E is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.7% C 0.044 H 1.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#42262E
RGBrgb(66, 38, 46)
HSLhsl(343, 27%, 20%)
HSVhsv(343, 42%, 26%)
CMYKcmyk(0%, 42.4%, 30.3%, 74.1%)
CIE-LABlab(18.98, 14.51, 0.36)
CIE-LCHlch(18.98, 14.51, 1.41°)
OKLaboklab(30.72% 0.0438 0.0011)
OKLCHoklch(30.72% 0.044 1.5)
XYZxyz(3.4331, 2.7420, 2.9327)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42262E #26423A
analogous
#42263C #42262E #422C26
triadic
#42262E #2E4226 #262E42
tetradic
#42262E #3C4226 #26423A #2C2642
square
#42262E #3C4226 #26423A #2C2642
split-complementary
#42262E #26422C #263C42
monochromatic
#130B0E #1B1013 #42262E #693C49 #905364

Accessibility & contrast

On white

13.56
#42262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#42262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42262E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42262E#FFFFFF#000000##FFFFFF
##42262E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#462429
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42262e;
/* rgb */ color: rgb(66, 38, 46);
/* oklch */ color: oklch(30.7% 0.044 1.5);
Tailwind
colors: {
  custom: {
    50: '#776066',
    500: '#42262e',
    950: '#000000',
  },
}
SCSS
$custom: #42262e;
$custom-light: #776066;
$custom-dark: #000000;
JSON
{
  "hex": "#42262e",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 342.857,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30717,
    "c": 0.04383,
    "h": 1.5
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#42262E
secondary
#4F746A
accent
#C3A865
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090506
muted
#7B797A

Preview Lab

Preview with #42262E

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

Preview Lab → · Contrast checker → · Palette generator →

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