#642A55#642A55

#642A55 is a dark, moderate pink. Relative luminance 0.050; OKLCH L 38.2% C 0.101 H 338.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#642A55
RGBrgb(100, 42, 85)
HSLhsl(316, 41%, 28%)
HSVhsv(316, 58%, 39%)
CMYKcmyk(0%, 58%, 15%, 60.8%)
CIE-LABlab(26.80, 32.10, -13.83)
CIE-LCHlch(26.80, 34.95, 336.69°)
OKLaboklab(38.21% 0.0943 -0.0372)
OKLCHoklch(38.21% 0.101 338.4)
XYZxyz(7.7233, 5.0217, 9.1551)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A55 #2A6439
analogous
#562A64 #642A55 #642A38
triadic
#642A55 #55642A #2A5564
tetradic
#642A55 #64562A #2A6439 #2A3864
square
#642A55 #64562A #2A6439 #2A3864
split-complementary
#642A55 #38642A #2A6456
monochromatic
#160912 #391830 #642A55 #8F3C7A #B6529C

Accessibility & contrast

On white

10.48
#642A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#642A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A55
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A55#FFFFFF#000000##FFFFFF
##642A551.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A56
Deuteranopia (green-blind)
#3D4353
Tritanopia (blue-blind)
#692C3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642a55;
/* rgb */ color: rgb(100, 42, 85);
/* oklch */ color: oklch(38.2% 0.101 338.4);
Tailwind
colors: {
  custom: {
    50: '#926785',
    500: '#642a55',
    950: '#000000',
  },
}
SCSS
$custom: #642a55;
$custom-light: #926785;
$custom-dark: #000000;
JSON
{
  "hex": "#642a55",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 315.517,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.10135,
    "h": 338.4
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#642A55
secondary
#539665
accent
#D17757
background
#F9F6F8
surface
#F1EBEF
border
#CBC6CA
text
#0D060B
muted
#7E7A7C

Preview Lab

Preview with #642A55

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

Preview Lab → · Contrast checker → · Palette generator →

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