#642A4D#642A4D

#642A4D is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.8% C 0.095 H 345.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#642A4D
RGBrgb(100, 42, 77)
HSLhsl(324, 41%, 28%)
HSVhsv(324, 58%, 39%)
CMYKcmyk(0%, 58%, 23%, 60.8%)
CIE-LABlab(26.45, 30.74, -9.06)
CIE-LCHlch(26.45, 32.05, 343.57°)
OKLaboklab(37.84% 0.0921 -0.024)
OKLCHoklch(37.84% 0.095 345.4)
XYZxyz(7.4232, 4.9017, 7.5749)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A4D #2A6441
analogous
#5E2A64 #642A4D #642A30
triadic
#642A4D #4D642A #2A4D64
tetradic
#642A4D #645E2A #2A6441 #2A3064
square
#642A4D #645E2A #2A6441 #2A3064
split-complementary
#642A4D #30642A #2A645E
monochromatic
#160911 #39182C #642A4D #8F3C6E #B6528F

Accessibility & contrast

On white

10.60
#642A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642A4D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A4D#FFFFFF#000000##FFFFFF
##642A4D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#3F424C
Tritanopia (blue-blind)
#6A2938
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642a4d;
/* rgb */ color: rgb(100, 42, 77);
/* oklch */ color: oklch(37.8% 0.095 345.4);
Tailwind
colors: {
  custom: {
    50: '#92667e',
    500: '#642a4d',
    950: '#000000',
  },
}
SCSS
$custom: #642a4d;
$custom-light: #92667e;
$custom-dark: #000000;
JSON
{
  "hex": "#642a4d",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 323.793,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.09512,
    "h": 345.4
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#642A4D
secondary
#53966E
accent
#D18757
background
#F9F6F7
surface
#F1EBEE
border
#CBC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #642A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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