#642845#642845

#642845 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.2% C 0.094 H 352.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#642845
RGBrgb(100, 40, 69)
HSLhsl(331, 43%, 27%)
HSVhsv(331, 60%, 39%)
CMYKcmyk(0%, 60%, 31%, 60.8%)
CIE-LABlab(25.74, 30.57, -4.80)
CIE-LCHlch(25.74, 30.95, 351.08°)
OKLaboklab(37.2% 0.0927 -0.0123)
OKLCHoklch(37.2% 0.094 352.4)
XYZxyz(7.0888, 4.6573, 6.1547)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642845 #286447
analogous
#642863 #642845 #642928
triadic
#642845 #456428 #284564
tetradic
#642845 #636428 #286447 #292864
square
#642845 #636428 #286447 #292864
split-complementary
#642845 #286429 #286364
monochromatic
#16090F #381727 #642845 #903963 #B84E81

Accessibility & contrast

On white

10.87
#642845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#642845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642845
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642845#FFFFFF#000000##FFFFFF
##6428451.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#404144
Tritanopia (blue-blind)
#6B2533
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642845;
/* rgb */ color: rgb(100, 40, 69);
/* oklch */ color: oklch(37.2% 0.094 352.4);
Tailwind
colors: {
  custom: {
    50: '#926578',
    500: '#642845',
    950: '#000000',
  },
}
SCSS
$custom: #642845;
$custom-light: #926578;
$custom-dark: #000000;
JSON
{
  "hex": "#642845",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 331,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.09354,
    "h": 352.4
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#642845
secondary
#519775
accent
#D39655
background
#F9F6F7
surface
#F1EBED
border
#CBC6C8
text
#0D0609
muted
#7E7A7B

Preview Lab

Preview with #642845

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

Preview Lab → · Contrast checker → · Palette generator →

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