#642240#642240

#642240 is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.1% C 0.101 H 355.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#642240
RGBrgb(100, 34, 64)
HSLhsl(333, 49%, 26%)
HSVhsv(333, 66%, 39%)
CMYKcmyk(0%, 66%, 36%, 60.8%)
CIE-LABlab(24.40, 32.96, -3.41)
CIE-LCHlch(24.40, 33.13, 354.09°)
OKLaboklab(36.15% 0.1005 -0.0086)
OKLCHoklch(36.15% 0.101 355.1)
XYZxyz(6.7533, 4.2243, 5.3092)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642240 #226446
analogous
#642261 #642240 #642522
triadic
#642240 #406422 #224064
tetradic
#642240 #616422 #226446 #252264
square
#642240 #616422 #226446 #252264
split-complementary
#642240 #226425 #226164
monochromatic
#17080F #361223 #642240 #92325D #BF427B

Accessibility & contrast

On white

11.38
#642240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#642240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642240
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642240#FFFFFF#000000##FFFFFF
##6422401.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3241
Deuteranopia (green-blind)
#3E3E3E
Tritanopia (blue-blind)
#6C1D2E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642240;
/* rgb */ color: rgb(100, 34, 64);
/* oklch */ color: oklch(36.1% 0.101 355.1);
Tailwind
colors: {
  custom: {
    50: '#936174',
    500: '#642240',
    950: '#000000',
  },
}
SCSS
$custom: #642240;
$custom-light: #936174;
$custom-dark: #000000;
JSON
{
  "hex": "#642240",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 332.727,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.1009,
    "h": 355.1
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#642240
secondary
#4A9874
accent
#D99A4F
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #642240

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

Preview Lab → · Contrast checker → · Palette generator →

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