#640F26#640F26

#640F26 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.117 H 11.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#640F26
RGBrgb(100, 15, 38)
HSLhsl(344, 74%, 23%)
HSVhsv(344, 85%, 39%)
CMYKcmyk(0%, 85%, 62%, 60.8%)
CIE-LABlab(20.80, 37.98, 9.42)
CIE-LCHlch(20.80, 39.13, 13.94°)
OKLaboklab(33.22% 0.1149 0.0235)
OKLCHoklch(33.22% 0.117 11.5)
XYZxyz(5.7768, 3.1918, 2.1452)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F26 #0F644D
analogous
#640F50 #640F26 #64230F
triadic
#640F26 #26640F #0F2664
tetradic
#640F26 #50640F #0F644D #230F64
square
#640F26 #50640F #0F644D #230F64
split-complementary
#640F26 #0F6423 #0F5064
monochromatic
#1B040A #2F0712 #640F26 #99173A #CE1F4E

Accessibility & contrast

On white

12.82
#640F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #640F26
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F26#FFFFFF#000000##FFFFFF
##640F261.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272726
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#6E0019
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #640f26;
/* rgb */ color: rgb(100, 15, 38);
/* oklch */ color: oklch(33.2% 0.117 11.5);
Tailwind
colors: {
  custom: {
    50: '#96585f',
    500: '#640f26',
    950: '#000000',
  },
}
SCSS
$custom: #640f26;
$custom-light: #96585f;
$custom-dark: #000000;
JSON
{
  "hex": "#640f26",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 343.765,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33221,
    "c": 0.11722,
    "h": 11.5
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#640F26
secondary
#329D80
accent
#F1BE37
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #640F26

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

Preview Lab → · Contrast checker → · Palette generator →

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