#640F28#640F28

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

Color values

HEX#640F28
RGBrgb(100, 15, 40)
HSLhsl(342, 74%, 23%)
HSVhsv(342, 85%, 39%)
CMYKcmyk(0%, 85%, 60%, 60.8%)
CIE-LABlab(20.85, 38.14, 8.08)
CIE-LCHlch(20.85, 38.99, 11.97°)
OKLaboklab(33.28% 0.1157 0.0204)
OKLCHoklch(33.28% 0.118 10)
XYZxyz(5.8099, 3.2050, 2.3198)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F28 #0F644B
analogous
#640F52 #640F28 #64210F
triadic
#640F28 #28640F #0F2864
tetradic
#640F28 #52640F #0F644B #210F64
square
#640F28 #52640F #0F644B #210F64
split-complementary
#640F28 #0F6421 #0F5264
monochromatic
#1B040B #2F0713 #640F28 #99173D #CE1F53

Accessibility & contrast

On white

12.80
#640F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #640F28
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F28#FFFFFF#000000##FFFFFF
##640F281.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#3D3826
Tritanopia (blue-blind)
#6E001A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #640f28;
/* rgb */ color: rgb(100, 15, 40);
/* oklch */ color: oklch(33.3% 0.117 10.0);
Tailwind
colors: {
  custom: {
    50: '#965861',
    500: '#640f28',
    950: '#000000',
  },
}
SCSS
$custom: #640f28;
$custom-light: #965861;
$custom-dark: #000000;
JSON
{
  "hex": "#640f28",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 342.353,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33275,
    "c": 0.1175,
    "h": 10
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#640F28
secondary
#329D7D
accent
#F1BA37
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #640F28

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

Preview Lab → · Contrast checker → · Palette generator →

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