#642A4E#642A4E

#642A4E is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.9% C 0.096 H 344.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#642A4E
RGBrgb(100, 42, 78)
HSLhsl(323, 41%, 28%)
HSVhsv(323, 58%, 39%)
CMYKcmyk(0%, 58%, 22%, 60.8%)
CIE-LABlab(26.49, 30.90, -9.66)
CIE-LCHlch(26.49, 32.38, 342.63°)
OKLaboklab(37.88% 0.0924 -0.0256)
OKLCHoklch(37.88% 0.096 344.5)
XYZxyz(7.4588, 4.9159, 7.7623)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A4E #2A6440
analogous
#5D2A64 #642A4E #642A31
triadic
#642A4E #4E642A #2A4E64
tetradic
#642A4E #645D2A #2A6440 #2A3164
square
#642A4E #645D2A #2A6440 #2A3164
split-complementary
#642A4E #31642A #2A645D
monochromatic
#160911 #39182C #642A4E #8F3C70 #B65290

Accessibility & contrast

On white

10.59
#642A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642A4E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A4E#FFFFFF#000000##FFFFFF
##642A4E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#3F424D
Tritanopia (blue-blind)
#6A2A38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642a4e;
/* rgb */ color: rgb(100, 42, 78);
/* oklch */ color: oklch(37.9% 0.096 344.5);
Tailwind
colors: {
  custom: {
    50: '#92667f',
    500: '#642a4e',
    950: '#000000',
  },
}
SCSS
$custom: #642a4e;
$custom-light: #92667f;
$custom-dark: #000000;
JSON
{
  "hex": "#642a4e",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 322.759,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.09584,
    "h": 344.5
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#642A4E
secondary
#53966D
accent
#D18557
background
#F9F6F7
surface
#F1EBEE
border
#CBC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #642A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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