#640E2D#640E2D

#640E2D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.119 H 5.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#640E2D
RGBrgb(100, 14, 45)
HSLhsl(338, 75%, 22%)
HSVhsv(338, 86%, 39%)
CMYKcmyk(0%, 86%, 55%, 60.8%)
CIE-LABlab(20.88, 38.86, 4.61)
CIE-LCHlch(20.88, 39.13, 6.76°)
OKLaboklab(33.35% 0.1188 0.012)
OKLCHoklch(33.35% 0.119 5.8)
XYZxyz(5.8868, 3.2137, 2.7924)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640E2D #0E6445
analogous
#640E58 #640E2D #641A0E
triadic
#640E2D #2D640E #0E2D64
tetradic
#640E2D #58640E #0E6445 #1A0E64
square
#640E2D #58640E #0E6445 #1A0E64
split-complementary
#640E2D #0E641A #0E5864
monochromatic
#1B040C #2E0615 #640E2D #9A1645 #CF1D5D

Accessibility & contrast

On white

12.78
#640E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#640E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640E2D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640E2D#FFFFFF#000000##FFFFFF
##640E2D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#3C382B
Tritanopia (blue-blind)
#6E001C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #640e2d;
/* rgb */ color: rgb(100, 14, 45);
/* oklch */ color: oklch(33.3% 0.119 5.8);
Tailwind
colors: {
  custom: {
    50: '#955865',
    500: '#640e2d',
    950: '#000000',
  },
}
SCSS
$custom: #640e2d;
$custom-light: #955865;
$custom-dark: #000000;
JSON
{
  "hex": "#640e2d",
  "rgb": {
    "r": 100,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 338.372,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33345,
    "c": 0.11941,
    "h": 5.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#640E2D
secondary
#319D76
accent
#F2AE36
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0405
muted
#7E797A

Preview Lab

Preview with #640E2D

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

Preview Lab → · Contrast checker → · Palette generator →

#640E2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva