#642142#642142

#642142 is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.1% C 0.104 H 353.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#642142
RGBrgb(100, 33, 66)
HSLhsl(330, 50%, 26%)
HSVhsv(330, 67%, 39%)
CMYKcmyk(0%, 67%, 34%, 60.8%)
CIE-LABlab(24.29, 33.72, -4.93)
CIE-LCHlch(24.29, 34.08, 351.69°)
OKLaboklab(36.09% 0.1027 -0.0126)
OKLCHoklch(36.09% 0.104 353)
XYZxyz(6.7831, 4.1911, 5.6049)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642142 #216443
analogous
#642163 #642142 #642121
triadic
#642142 #426421 #214264
tetradic
#642142 #636421 #216443 #212164
square
#642142 #636421 #216443 #212164
split-complementary
#642142 #216421 #216364
monochromatic
#17080F #361224 #642142 #923060 #C0407F

Accessibility & contrast

On white

11.43
#642142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#642142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642142
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642142#FFFFFF#000000##FFFFFF
##6421421.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#3E3E40
Tritanopia (blue-blind)
#6C1D2E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642142;
/* rgb */ color: rgb(100, 33, 66);
/* oklch */ color: oklch(36.1% 0.104 353.0);
Tailwind
colors: {
  custom: {
    50: '#936176',
    500: '#642142',
    950: '#000000',
  },
}
SCSS
$custom: #642142;
$custom-light: #936176;
$custom-dark: #000000;
JSON
{
  "hex": "#642142",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 330.448,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36094,
    "c": 0.10351,
    "h": 353
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#642142
secondary
#499871
accent
#DA954E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #642142

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

Preview Lab → · Contrast checker → · Palette generator →

#642142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva