#640F30#640F30

#640F30 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.119 H 3.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#640F30
RGBrgb(100, 15, 48)
HSLhsl(337, 74%, 23%)
HSVhsv(337, 85%, 39%)
CMYKcmyk(0%, 85%, 52%, 60.8%)
CIE-LABlab(21.08, 38.84, 2.77)
CIE-LCHlch(21.08, 38.94, 4.09°)
OKLaboklab(33.52% 0.1191 0.0075)
OKLCHoklch(33.52% 0.119 3.6)
XYZxyz(5.9604, 3.2652, 3.1121)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F30 #0F6443
analogous
#640F5A #640F30 #64190F
triadic
#640F30 #30640F #0F3064
tetradic
#640F30 #5A640F #0F6443 #190F64
square
#640F30 #5A640F #0F6443 #190F64
split-complementary
#640F30 #0F6419 #0F5A64
monochromatic
#1B040D #2F0716 #640F30 #99174A #CE1F63

Accessibility & contrast

On white

12.71
#640F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#640F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640F30
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F30#FFFFFF#000000##FFFFFF
##640F301.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#3B392E
Tritanopia (blue-blind)
#6D001E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #640f30;
/* rgb */ color: rgb(100, 15, 48);
/* oklch */ color: oklch(33.5% 0.119 3.6);
Tailwind
colors: {
  custom: {
    50: '#955868',
    500: '#640f30',
    950: '#000000',
  },
}
SCSS
$custom: #640f30;
$custom-light: #955868;
$custom-dark: #000000;
JSON
{
  "hex": "#640f30",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 336.706,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.11928,
    "h": 3.6
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#640F30
secondary
#329D73
accent
#F1A937
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #640F30

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

Preview Lab → · Contrast checker → · Palette generator →

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