#642A3F#642A3F

#642A3F is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.3% C 0.087 H 359.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#642A3F
RGBrgb(100, 42, 63)
HSLhsl(338, 41%, 28%)
HSVhsv(338, 58%, 39%)
CMYKcmyk(0%, 58%, 37%, 60.8%)
CIE-LABlab(25.94, 28.64, -0.47)
CIE-LCHlch(25.94, 28.64, 359.05°)
OKLaboklab(37.28% 0.0871 -0.0009)
OKLCHoklch(37.28% 0.087 359.4)
XYZxyz(6.9811, 4.7248, 5.2460)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A3F #2A644F
analogous
#642A5C #642A3F #64322A
triadic
#642A3F #3F642A #2A3F64
tetradic
#642A3F #5C642A #2A644F #322A64
square
#642A3F #5C642A #2A644F #322A64
split-complementary
#642A3F #2A6432 #2A5C64
monochromatic
#16090E #391824 #642A3F #8F3C5A #B65276

Accessibility & contrast

On white

10.80
#642A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#642A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A3F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A3F#FFFFFF#000000##FFFFFF
##642A3F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333740
Deuteranopia (green-blind)
#43413E
Tritanopia (blue-blind)
#6C2532
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642a3f;
/* rgb */ color: rgb(100, 42, 63);
/* oklch */ color: oklch(37.3% 0.087 359.4);
Tailwind
colors: {
  custom: {
    50: '#936673',
    500: '#642a3f',
    950: '#000000',
  },
}
SCSS
$custom: #642a3f;
$custom-light: #936673;
$custom-dark: #000000;
JSON
{
  "hex": "#642a3f",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 338.276,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.08714,
    "h": 359.4
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#642A3F
secondary
#53967E
accent
#D1A557
background
#F9F6F7
surface
#F2EBED
border
#CCC6C8
text
#0D0608
muted
#7E7A7B

Preview Lab

Preview with #642A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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