#642E4F#642E4F

#642E4F is a dark, moderate pink. Relative luminance 0.052; OKLCH L 38.6% C 0.089 H 344.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#642E4F
RGBrgb(100, 46, 79)
HSLhsl(323, 37%, 29%)
HSVhsv(323, 54%, 39%)
CMYKcmyk(0%, 54%, 21%, 60.8%)
CIE-LABlab(27.38, 28.86, -8.99)
CIE-LCHlch(27.38, 30.23, 342.70°)
OKLaboklab(38.55% 0.086 -0.0238)
OKLCHoklch(38.55% 0.089 344.5)
XYZxyz(7.6440, 5.2284, 8.0022)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E4F #2E6443
analogous
#5E2E64 #642E4F #642E34
triadic
#642E4F #4F642E #2E4F64
tetradic
#642E4F #645E2E #2E6443 #2E3464
square
#642E4F #645E2E #2E6443 #2E3464
split-complementary
#642E4F #34642E #2E645E
monochromatic
#150A11 #3A1B2E #642E4F #8E4170 #B35A90

Accessibility & contrast

On white

10.27
#642E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#642E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642E4F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E4F#FFFFFF#000000##FFFFFF
##642E4F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#41444E
Tritanopia (blue-blind)
#6A2E3B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #642e4f;
/* rgb */ color: rgb(100, 46, 79);
/* oklch */ color: oklch(38.6% 0.089 344.5);
Tailwind
colors: {
  custom: {
    50: '#926980',
    500: '#642e4f',
    950: '#000000',
  },
}
SCSS
$custom: #642e4f;
$custom-light: #926980;
$custom-dark: #000000;
JSON
{
  "hex": "#642e4f",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 323.333,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38553,
    "c": 0.08924,
    "h": 344.5
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#642E4F
secondary
#589670
accent
#CD875B
background
#F9F6F7
surface
#F1EBEE
border
#CBC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #642E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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