#642945#642945

#642945 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.4% C 0.092 H 352.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#642945
RGBrgb(100, 41, 69)
HSLhsl(332, 42%, 28%)
HSVhsv(332, 59%, 39%)
CMYKcmyk(0%, 59%, 31%, 60.8%)
CIE-LABlab(25.94, 30.04, -4.50)
CIE-LCHlch(25.94, 30.37, 351.49°)
OKLaboklab(37.35% 0.0911 -0.0115)
OKLCHoklch(37.35% 0.092 352.8)
XYZxyz(7.1229, 4.7255, 6.1661)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642945 #296448
analogous
#642963 #642945 #642A29
triadic
#642945 #456429 #294564
tetradic
#642945 #636429 #296448 #2A2964
square
#642945 #636429 #296448 #2A2964
split-complementary
#642945 #29642A #296364
monochromatic
#16090F #391727 #642945 #8F3B63 #B75081

Accessibility & contrast

On white

10.80
#642945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#642945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642945
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642945#FFFFFF#000000##FFFFFF
##6429451.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#414144
Tritanopia (blue-blind)
#6B2634
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642945;
/* rgb */ color: rgb(100, 41, 69);
/* oklch */ color: oklch(37.4% 0.092 352.8);
Tailwind
colors: {
  custom: {
    50: '#926678',
    500: '#642945',
    950: '#000000',
  },
}
SCSS
$custom: #642945;
$custom-light: #926678;
$custom-dark: #000000;
JSON
{
  "hex": "#642945",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 331.525,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37353,
    "c": 0.09179,
    "h": 352.8
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#642945
secondary
#529676
accent
#D29756
background
#F9F6F7
surface
#F1EBED
border
#CBC6C8
text
#0D0609
muted
#7E7A7B

Preview Lab

Preview with #642945

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

Preview Lab → · Contrast checker → · Palette generator →

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