#642F56#642F56

#642F56 is a dark, moderate pink. Relative luminance 0.054; OKLCH L 39.0% C 0.093 H 338.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#642F56
RGBrgb(100, 47, 86)
HSLhsl(316, 36%, 29%)
HSVhsv(316, 53%, 39%)
CMYKcmyk(0%, 53%, 14%, 60.8%)
CIE-LABlab(27.89, 29.52, -12.82)
CIE-LCHlch(27.89, 32.18, 336.53°)
OKLaboklab(39.03% 0.0864 -0.0344)
OKLCHoklch(39.03% 0.093 338.3)
XYZxyz(7.9518, 5.4148, 9.4286)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F56 #2F643D
analogous
#582F64 #642F56 #642F3C
triadic
#642F56 #56642F #2F5664
tetradic
#642F56 #64582F #2F643D #2F3C64
square
#642F56 #64582F #2F643D #2F3C64
split-complementary
#642F56 #3C642F #2F6458
monochromatic
#150A12 #3A1B32 #642F56 #8E437A #B25B9B

Accessibility & contrast

On white

10.08
#642F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#642F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F56
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F56#FFFFFF#000000##FFFFFF
##642F561.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#3F4555
Tritanopia (blue-blind)
#69313E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642f56;
/* rgb */ color: rgb(100, 47, 86);
/* oklch */ color: oklch(39.0% 0.093 338.3);
Tailwind
colors: {
  custom: {
    50: '#926a85',
    500: '#642f56',
    950: '#000000',
  },
}
SCSS
$custom: #642f56;
$custom-light: #926a85;
$custom-dark: #000000;
JSON
{
  "hex": "#642f56",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 315.849,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.09301,
    "h": 338.3
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#642F56
secondary
#599669
accent
#CC795C
background
#F9F6F8
surface
#F1EBEF
border
#CBC6CA
text
#0D060B
muted
#7E7A7C

Preview Lab

Preview with #642F56

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

Preview Lab → · Contrast checker → · Palette generator →

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