#642C40#642C40

#642C40 is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.6% C 0.084 H 359.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#642C40
RGBrgb(100, 44, 64)
HSLhsl(339, 39%, 28%)
HSVhsv(339, 56%, 39%)
CMYKcmyk(0%, 56%, 36%, 60.8%)
CIE-LABlab(26.39, 27.66, -0.47)
CIE-LCHlch(26.39, 27.67, 359.02°)
OKLaboklab(37.64% 0.0841 -0.0009)
OKLCHoklch(37.64% 0.084 359.4)
XYZxyz(7.0820, 4.8815, 5.4188)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642C40 #2C6450
analogous
#642C5C #642C40 #64342C
triadic
#642C40 #40642C #2C4064
tetradic
#642C40 #5C642C #2C6450 #342C64
square
#642C40 #5C642C #2C6450 #342C64
split-complementary
#642C40 #2C6434 #2C5C64
monochromatic
#15090E #391925 #642C40 #8E3F5B #B55678

Accessibility & contrast

On white

10.63
#642C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#642C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642C40
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642C40#FFFFFF#000000##FFFFFF
##642C401.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#43423F
Tritanopia (blue-blind)
#6C2833
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642c40;
/* rgb */ color: rgb(100, 44, 64);
/* oklch */ color: oklch(37.6% 0.084 359.4);
Tailwind
colors: {
  custom: {
    50: '#926774',
    500: '#642c40',
    950: '#000000',
  },
}
SCSS
$custom: #642c40;
$custom-light: #926774;
$custom-dark: #000000;
JSON
{
  "hex": "#642c40",
  "rgb": {
    "r": 100,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 338.571,
    "s": 38.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.0841,
    "h": 359.4
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#642C40
secondary
#56967F
accent
#CFA559
background
#F9F6F7
surface
#F1EBED
border
#CBC6C8
text
#0D0608
muted
#7E7A7B

Preview Lab

Preview with #642C40

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

Preview Lab → · Contrast checker → · Palette generator →

#642C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva