#640F2C#640F2C

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

Color values

HEX#640F2C
RGBrgb(100, 15, 44)
HSLhsl(340, 74%, 23%)
HSVhsv(340, 85%, 39%)
CMYKcmyk(0%, 85%, 56%, 60.8%)
CIE-LABlab(20.96, 38.47, 5.42)
CIE-LCHlch(20.96, 38.85, 8.02°)
OKLaboklab(33.39% 0.1174 0.014)
OKLCHoklch(33.39% 0.118 6.8)
XYZxyz(5.8815, 3.2337, 2.6968)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F2C #0F6447
analogous
#640F57 #640F2C #641C0F
triadic
#640F2C #2C640F #0F2C64
tetradic
#640F2C #57640F #0F6447 #1C0F64
square
#640F2C #57640F #0F6447 #1C0F64
split-complementary
#640F2C #0F641C #0F5764
monochromatic
#1B040C #2F0715 #640F2C #991743 #CE1F5B

Accessibility & contrast

On white

12.75
#640F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #640F2C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F2C#FFFFFF#000000##FFFFFF
##640F2C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#3C382A
Tritanopia (blue-blind)
#6E001C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #640f2c;
/* rgb */ color: rgb(100, 15, 44);
/* oklch */ color: oklch(33.4% 0.118 6.8);
Tailwind
colors: {
  custom: {
    50: '#955864',
    500: '#640f2c',
    950: '#000000',
  },
}
SCSS
$custom: #640f2c;
$custom-light: #955864;
$custom-dark: #000000;
JSON
{
  "hex": "#640f2c",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 339.529,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.11825,
    "h": 6.8
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#640F2C
secondary
#329D78
accent
#F1B137
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0405
muted
#7E797A

Preview Lab

Preview with #640F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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