#642140#642140

#642140 is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.0% C 0.102 H 354.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#642140
RGBrgb(100, 33, 64)
HSLhsl(332, 50%, 26%)
HSVhsv(332, 67%, 39%)
CMYKcmyk(0%, 67%, 36%, 60.8%)
CIE-LABlab(24.22, 33.45, -3.68)
CIE-LCHlch(24.22, 33.65, 353.72°)
OKLaboklab(36.02% 0.1021 -0.0093)
OKLCHoklch(36.02% 0.102 354.8)
XYZxyz(6.7252, 4.1679, 5.2998)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642140 #216445
analogous
#642161 #642140 #642321
triadic
#642140 #406421 #214064
tetradic
#642140 #616421 #216445 #232164
square
#642140 #616421 #216445 #232164
split-complementary
#642140 #216423 #216164
monochromatic
#17080F #361223 #642140 #92305D #C0407B

Accessibility & contrast

On white

11.45
#642140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#642140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642140
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642140#FFFFFF#000000##FFFFFF
##6421401.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#3E3E3E
Tritanopia (blue-blind)
#6C1C2D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642140;
/* rgb */ color: rgb(100, 33, 64);
/* oklch */ color: oklch(36.0% 0.102 354.8);
Tailwind
colors: {
  custom: {
    50: '#936174',
    500: '#642140',
    950: '#000000',
  },
}
SCSS
$custom: #642140;
$custom-light: #936174;
$custom-dark: #000000;
JSON
{
  "hex": "#642140",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 332.239,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36015,
    "c": 0.10248,
    "h": 354.8
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#642140
secondary
#499873
accent
#DA994E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #642140

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

Preview Lab → · Contrast checker → · Palette generator →

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