#642A58#642A58

#642A58 is a dark, moderate pink. Relative luminance 0.051; OKLCH L 38.4% C 0.104 H 336.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#642A58
RGBrgb(100, 42, 88)
HSLhsl(312, 41%, 28%)
HSVhsv(312, 58%, 39%)
CMYKcmyk(0%, 58%, 12%, 60.8%)
CIE-LABlab(26.93, 32.64, -15.59)
CIE-LCHlch(26.93, 36.17, 334.46°)
OKLaboklab(38.35% 0.095 -0.0422)
OKLCHoklch(38.35% 0.104 336)
XYZxyz(7.8450, 5.0704, 9.7961)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A58 #2A6436
analogous
#532A64 #642A58 #642A3B
triadic
#642A58 #58642A #2A5864
tetradic
#642A58 #64532A #2A6436 #2A3B64
square
#642A58 #64532A #2A6436 #2A3B64
split-complementary
#642A58 #3B642A #2A6453
monochromatic
#160913 #391832 #642A58 #8F3C7E #B652A2

Accessibility & contrast

On white

10.43
#642A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#642A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A58
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A58#FFFFFF#000000##FFFFFF
##642A581.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#3C4356
Tritanopia (blue-blind)
#692D3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642a58;
/* rgb */ color: rgb(100, 42, 88);
/* oklch */ color: oklch(38.4% 0.104 336.0);
Tailwind
colors: {
  custom: {
    50: '#926787',
    500: '#642a58',
    950: '#000000',
  },
}
SCSS
$custom: #642a58;
$custom-light: #926787;
$custom-dark: #000000;
JSON
{
  "hex": "#642a58",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 312.414,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.10392,
    "h": 336
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#642A58
secondary
#539661
accent
#D17057
background
#F9F6F8
surface
#F1EBEF
border
#CBC6CA
text
#0D060B
muted
#7E7A7C

Preview Lab

Preview with #642A58

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

Preview Lab → · Contrast checker → · Palette generator →

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