#640337#640337

#640337 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 33.0% C 0.132 H 356.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#640337
RGBrgb(100, 3, 55)
HSLhsl(328, 94%, 20%)
HSVhsv(328, 97%, 39%)
CMYKcmyk(0%, 97%, 45%, 60.8%)
CIE-LABlab(20.25, 42.61, -3.36)
CIE-LCHlch(20.25, 42.74, 355.49°)
OKLaboklab(32.99% 0.1315 -0.0083)
OKLCHoklch(32.99% 0.132 356.4)
XYZxyz(5.9782, 3.0511, 3.8878)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640337 #036430
analogous
#600364 #640337 #640306
triadic
#640337 #376403 #033764
tetradic
#640337 #646003 #036430 #030664
square
#640337 #646003 #036430 #030664
split-complementary
#640337 #066403 #036460
monochromatic
#1E0110 #290116 #640337 #9F0558 #DB0778

Accessibility & contrast

On white

13.04
#640337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#640337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640337
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640337#FFFFFF#000000##FFFFFF
##6403371.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2638
Deuteranopia (green-blind)
#383735
Tritanopia (blue-blind)
#6D001E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #640337;
/* rgb */ color: rgb(100, 3, 55);
/* oklch */ color: oklch(33.0% 0.132 356.4);
Tailwind
colors: {
  custom: {
    50: '#95556d',
    500: '#640337',
    950: '#000000',
  },
}
SCSS
$custom: #640337;
$custom-light: #95556d;
$custom-dark: #000000;
JSON
{
  "hex": "#640337",
  "rgb": {
    "r": 100,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 327.835,
    "s": 94.175,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32993,
    "c": 0.13179,
    "h": 356.4
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#640337
secondary
#21A25D
accent
#FF8C29
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0307
muted
#7E787A

Preview Lab

Preview with #640337

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

Preview Lab → · Contrast checker → · Palette generator →

#640337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva