#642138#642138

#642138 is a dark, moderate pink. Relative luminance 0.041; OKLCH L 35.7% C 0.099 H 2.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#642138
RGBrgb(100, 33, 56)
HSLhsl(339, 50%, 26%)
HSVhsv(339, 67%, 39%)
CMYKcmyk(0%, 67%, 44%, 60.8%)
CIE-LABlab(23.94, 32.44, 1.37)
CIE-LCHlch(23.94, 32.46, 2.42°)
OKLaboklab(35.72% 0.0991 0.0039)
OKLCHoklch(35.72% 0.099 2.3)
XYZxyz(6.5136, 4.0833, 4.1858)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642138 #21644D
analogous
#642159 #642138 #642B21
triadic
#642138 #386421 #213864
tetradic
#642138 #596421 #21644D #2B2164
square
#642138 #596421 #21644D #2B2164
split-complementary
#642138 #21642B #215964
monochromatic
#17080D #36121E #642138 #923052 #C0406C

Accessibility & contrast

On white

11.56
#642138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#642138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642138
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642138#FFFFFF#000000##FFFFFF
##6421381.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3139
Deuteranopia (green-blind)
#403E36
Tritanopia (blue-blind)
#6D192A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #642138;
/* rgb */ color: rgb(100, 33, 56);
/* oklch */ color: oklch(35.7% 0.099 2.3);
Tailwind
colors: {
  custom: {
    50: '#94616e',
    500: '#642138',
    950: '#000000',
  },
}
SCSS
$custom: #642138;
$custom-light: #94616e;
$custom-dark: #000000;
JSON
{
  "hex": "#642138",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 339.403,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.09914,
    "h": 2.3
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#642138
secondary
#49987D
accent
#DAAA4E
background
#F9F5F6
surface
#F2EAEB
border
#CCC6C6
text
#0E0507
muted
#7E797A

Preview Lab

Preview with #642138

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

Preview Lab → · Contrast checker → · Palette generator →

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