#640E2F#640E2F

#640E2F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.120 H 4.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#640E2F
RGBrgb(100, 14, 47)
HSLhsl(337, 75%, 22%)
HSVhsv(337, 86%, 39%)
CMYKcmyk(0%, 86%, 53%, 60.8%)
CIE-LABlab(20.94, 39.04, 3.28)
CIE-LCHlch(20.94, 39.18, 4.81°)
OKLaboklab(33.41% 0.1196 0.0088)
OKLCHoklch(33.41% 0.12 4.2)
XYZxyz(5.9262, 3.2295, 3.0001)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640E2F #0E6443
analogous
#640E5A #640E2F #64180E
triadic
#640E2F #2F640E #0E2F64
tetradic
#640E2F #5A640E #0E6443 #180E64
square
#640E2F #5A640E #0E6443 #180E64
split-complementary
#640E2F #0E6418 #0E5A64
monochromatic
#1B040D #2E0616 #640E2F #9A1648 #CF1D61

Accessibility & contrast

On white

12.76
#640E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#640E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640E2F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640E2F#FFFFFF#000000##FFFFFF
##640E2F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#3B382D
Tritanopia (blue-blind)
#6E001D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #640e2f;
/* rgb */ color: rgb(100, 14, 47);
/* oklch */ color: oklch(33.4% 0.120 4.2);
Tailwind
colors: {
  custom: {
    50: '#955867',
    500: '#640e2f',
    950: '#000000',
  },
}
SCSS
$custom: #640e2f;
$custom-light: #955867;
$custom-dark: #000000;
JSON
{
  "hex": "#640e2f",
  "rgb": {
    "r": 100,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 336.977,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.11993,
    "h": 4.2
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#640E2F
secondary
#319D74
accent
#F2AA36
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #640E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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