#642A45#642A45

#642A45 is a dark, moderate pink. Relative luminance 0.048; OKLCH L 37.5% C 0.090 H 353.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#642A45
RGBrgb(100, 42, 69)
HSLhsl(332, 41%, 28%)
HSVhsv(332, 58%, 39%)
CMYKcmyk(0%, 58%, 31%, 60.8%)
CIE-LABlab(26.14, 29.49, -4.19)
CIE-LCHlch(26.14, 29.79, 351.92°)
OKLaboklab(37.51% 0.0894 -0.0107)
OKLCHoklch(37.51% 0.09 353.2)
XYZxyz(7.1580, 4.7956, 6.1777)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A45 #2A6449
analogous
#642A62 #642A45 #642C2A
triadic
#642A45 #45642A #2A4564
tetradic
#642A45 #62642A #2A6449 #2C2A64
square
#642A45 #62642A #2A6449 #2C2A64
split-complementary
#642A45 #2A642C #2A6264
monochromatic
#16090F #391827 #642A45 #8F3C63 #B65281

Accessibility & contrast

On white

10.72
#642A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#642A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A45
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A45#FFFFFF#000000##FFFFFF
##642A451.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323746
Deuteranopia (green-blind)
#414244
Tritanopia (blue-blind)
#6B2734
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642a45;
/* rgb */ color: rgb(100, 42, 69);
/* oklch */ color: oklch(37.5% 0.090 353.2);
Tailwind
colors: {
  custom: {
    50: '#926678',
    500: '#642a45',
    950: '#000000',
  },
}
SCSS
$custom: #642a45;
$custom-light: #926678;
$custom-dark: #000000;
JSON
{
  "hex": "#642a45",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 332.069,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.09003,
    "h": 353.2
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

primary
#642A45
secondary
#539677
accent
#D19857
background
#F9F6F7
surface
#F1EBED
border
#CBC6C8
text
#0D0609
muted
#7E7A7B

Preview Lab

Preview with #642A45

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

Preview Lab → · Contrast checker → · Palette generator →

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