#642147#642147

#642147 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.3% C 0.106 H 348.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#642147
RGBrgb(100, 33, 71)
HSLhsl(326, 50%, 26%)
HSVhsv(326, 67%, 39%)
CMYKcmyk(0%, 67%, 29%, 60.8%)
CIE-LABlab(24.49, 34.43, -8.02)
CIE-LCHlch(24.49, 35.35, 346.89°)
OKLaboklab(36.3% 0.1043 -0.021)
OKLCHoklch(36.3% 0.106 348.6)
XYZxyz(6.9370, 4.2527, 6.4155)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642147 #21643E
analogous
#5F2164 #642147 #642125
triadic
#642147 #476421 #214764
tetradic
#642147 #645F21 #21643E #212564
square
#642147 #645F21 #21643E #212564
split-complementary
#642147 #256421 #21645F
monochromatic
#170810 #361226 #642147 #923068 #C04088

Accessibility & contrast

On white

11.35
#642147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#642147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642147
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642147#FFFFFF#000000##FFFFFF
##6421471.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293348
Deuteranopia (green-blind)
#3C3E45
Tritanopia (blue-blind)
#6B1F31
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642147;
/* rgb */ color: rgb(100, 33, 71);
/* oklch */ color: oklch(36.3% 0.106 348.6);
Tailwind
colors: {
  custom: {
    50: '#93617a',
    500: '#642147',
    950: '#000000',
  },
}
SCSS
$custom: #642147;
$custom-light: #93617a;
$custom-dark: #000000;
JSON
{
  "hex": "#642147",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 325.97,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36304,
    "c": 0.10642,
    "h": 348.6
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#642147
secondary
#49986B
accent
#DA8A4E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #642147

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

Preview Lab → · Contrast checker → · Palette generator →

#642147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva