#640F54#640F54

#640F54 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.1% C 0.139 H 337.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#640F54
RGBrgb(100, 15, 84)
HSLhsl(311, 74%, 23%)
HSVhsv(311, 85%, 39%)
CMYKcmyk(0%, 85%, 16%, 60.8%)
CIE-LABlab(22.63, 43.36, -19.64)
CIE-LCHlch(22.63, 47.60, 335.63°)
OKLaboklab(35.15% 0.1282 -0.0535)
OKLCHoklch(35.15% 0.139 337.4)
XYZxyz(7.0267, 3.6918, 8.7283)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F54 #0F641F
analogous
#490F64 #640F54 #640F2A
triadic
#640F54 #54640F #0F5464
tetradic
#640F54 #64490F #0F641F #0F2A64
square
#640F54 #64490F #0F641F #0F2A64
split-complementary
#640F54 #2A640F #0F6449
monochromatic
#1B0416 #2F0727 #640F54 #991781 #CE1FAD

Accessibility & contrast

On white

12.08
#640F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#640F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640F54
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F54#FFFFFF#000000##FFFFFF
##640F541.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#313B52
Tritanopia (blue-blind)
#6A1531
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #640f54;
/* rgb */ color: rgb(100, 15, 84);
/* oklch */ color: oklch(35.1% 0.139 337.4);
Tailwind
colors: {
  custom: {
    50: '#935a84',
    500: '#640f54',
    950: '#000000',
  },
}
SCSS
$custom: #640f54;
$custom-light: #935a84;
$custom-dark: #000000;
JSON
{
  "hex": "#640f54",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 311.294,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.13888,
    "h": 337.4
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#640F54
secondary
#329D46
accent
#F15A37
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #640F54

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

Preview Lab → · Contrast checker → · Palette generator →

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