#642A52#642A52

#642A52 is a dark, moderate pink. Relative luminance 0.050; OKLCH L 38.1% C 0.099 H 341.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#642A52
RGBrgb(100, 42, 82)
HSLhsl(319, 41%, 28%)
HSVhsv(319, 58%, 39%)
CMYKcmyk(0%, 58%, 18%, 60.8%)
CIE-LABlab(26.66, 31.57, -12.06)
CIE-LCHlch(26.66, 33.80, 339.10°)
OKLaboklab(38.06% 0.0935 -0.0323)
OKLCHoklch(38.06% 0.099 341)
XYZxyz(7.6066, 4.9751, 8.5407)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A52 #2A643C
analogous
#592A64 #642A52 #642A35
triadic
#642A52 #52642A #2A5264
tetradic
#642A52 #64592A #2A643C #2A3564
square
#642A52 #64592A #2A643C #2A3564
split-complementary
#642A52 #35642A #2A6459
monochromatic
#160912 #39182F #642A52 #8F3C75 #B65297

Accessibility & contrast

On white

10.53
#642A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#642A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A52
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A52#FFFFFF#000000##FFFFFF
##642A521.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#3E4250
Tritanopia (blue-blind)
#6A2B3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642a52;
/* rgb */ color: rgb(100, 42, 82);
/* oklch */ color: oklch(38.1% 0.099 341.0);
Tailwind
colors: {
  custom: {
    50: '#926682',
    500: '#642a52',
    950: '#000000',
  },
}
SCSS
$custom: #642a52;
$custom-light: #926682;
$custom-dark: #000000;
JSON
{
  "hex": "#642a52",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 318.621,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.09889,
    "h": 341
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#642A52
secondary
#539668
accent
#D17D57
background
#F9F6F7
surface
#F1EBEE
border
#CBC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #642A52

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

Preview Lab → · Contrast checker → · Palette generator →

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