#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 |
|---|---|
| RGB | rgb(100, 15, 44) |
| HSL | hsl(340, 74%, 23%) |
| HSV | hsv(340, 85%, 39%) |
| CMYK | cmyk(0%, 85%, 56%, 60.8%) |
| CIE-LAB | lab(20.96, 38.47, 5.42) |
| CIE-LCH | lch(20.96, 38.85, 8.02°) |
| OKLab | oklab(33.39% 0.1174 0.014) |
| OKLCH | oklch(33.39% 0.118 6.8) |
| XYZ | xyz(5.8815, 3.2337, 2.6968) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.46
Maroon (survey)
#650021
ΔE00 3.55
Merlot
#730039
ΔE00 4.59
Bordeaux
#7B002C
ΔE00 5.21
Wine (survey)
#80013F
ΔE00 6.34
Claret
#680018
ΔE00 7.41
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 |
|---|---|---|---|---|
| ##640F2C | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.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