#642A42#642A42

#642A42 is a dark, moderate pink. Relative luminance 0.048; OKLCH L 37.4% C 0.088 H 356.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#642A42
RGBrgb(100, 42, 66)
HSLhsl(335, 41%, 28%)
HSVhsv(335, 58%, 39%)
CMYKcmyk(0%, 58%, 34%, 60.8%)
CIE-LABlab(26.04, 29.05, -2.34)
CIE-LCHlch(26.04, 29.15, 355.40°)
OKLaboklab(37.39% 0.0883 -0.0058)
OKLCHoklch(37.39% 0.088 356.3)
XYZxyz(7.0672, 4.7593, 5.6996)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A42 #2A644C
analogous
#642A5F #642A42 #642F2A
triadic
#642A42 #42642A #2A4264
tetradic
#642A42 #5F642A #2A644C #2F2A64
square
#642A42 #5F642A #2A644C #2F2A64
split-complementary
#642A42 #2A642F #2A5F64
monochromatic
#16090E #391826 #642A42 #8F3C5E #B6527C

Accessibility & contrast

On white

10.76
#642A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#642A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A42
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A42#FFFFFF#000000##FFFFFF
##642A421.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#424241
Tritanopia (blue-blind)
#6B2633
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642a42;
/* rgb */ color: rgb(100, 42, 66);
/* oklch */ color: oklch(37.4% 0.088 356.3);
Tailwind
colors: {
  custom: {
    50: '#926676',
    500: '#642a42',
    950: '#000000',
  },
}
SCSS
$custom: #642a42;
$custom-light: #926676;
$custom-dark: #000000;
JSON
{
  "hex": "#642a42",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 335.172,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.08848,
    "h": 356.3
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#642A42
secondary
#53967B
accent
#D19E57
background
#F9F6F7
surface
#F1EBED
border
#CBC6C8
text
#0D0608
muted
#7E7A7B

Preview Lab

Preview with #642A42

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

Preview Lab → · Contrast checker → · Palette generator →

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