#642728#642728

#642728 is a dark, moderate red. Relative luminance 0.043; OKLCH L 36.1% C 0.089 H 21.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#642728
RGBrgb(100, 39, 40)
HSLhsl(359, 44%, 27%)
HSVhsv(359, 61%, 39%)
CMYKcmyk(0%, 61%, 60%, 60.8%)
CIE-LABlab(24.68, 27.68, 13.27)
CIE-LCHlch(24.68, 30.69, 25.61°)
OKLaboklab(36.14% 0.0824 0.0326)
OKLCHoklch(36.14% 0.089 21.6)
XYZxyz(6.3646, 4.3143, 2.5047)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642728 #276463
analogous
#642747 #642728 #644427
triadic
#642728 #286427 #272864
tetradic
#642728 #476427 #276463 #442764
square
#642728 #476427 #276463 #442764
split-complementary
#642728 #276444 #274764
monochromatic
#160909 #381616 #642728 #90383A #B94C4E

Accessibility & contrast

On white

11.27
#642728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#642728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642728
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642728#FFFFFF#000000##FFFFFF
##6427281.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#453F27
Tritanopia (blue-blind)
#6E1D28
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #642728;
/* rgb */ color: rgb(100, 39, 40);
/* oklch */ color: oklch(36.1% 0.089 21.6);
Tailwind
colors: {
  custom: {
    50: '#946461',
    500: '#642728',
    950: '#000000',
  },
}
SCSS
$custom: #642728;
$custom-light: #946461;
$custom-dark: #000000;
JSON
{
  "hex": "#642728",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.016,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.08858,
    "h": 21.6
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#642728
secondary
#509796
accent
#D4D254
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0505
muted
#7E7A79

Preview Lab

Preview with #642728

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

Preview Lab → · Contrast checker → · Palette generator →

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