#642156#642156

#642156 is a dark, moderate pink. Relative luminance 0.045; OKLCH L 37.0% C 0.117 H 336.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#642156
RGBrgb(100, 33, 86)
HSLhsl(313, 50%, 26%)
HSVhsv(313, 67%, 39%)
CMYKcmyk(0%, 67%, 14%, 60.8%)
CIE-LABlab(25.17, 36.82, -17.01)
CIE-LCHlch(25.17, 40.56, 335.20°)
OKLaboklab(37.02% 0.1079 -0.0461)
OKLCHoklch(37.02% 0.117 336.9)
XYZxyz(7.4792, 4.4695, 9.2711)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642156 #21642F
analogous
#502164 #642156 #642134
triadic
#642156 #566421 #215664
tetradic
#642156 #645021 #21642F #213464
square
#642156 #645021 #21642F #213464
split-complementary
#642156 #346421 #216450
monochromatic
#170814 #36122E #642156 #92307E #C040A5

Accessibility & contrast

On white

11.09
#642156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#642156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642156
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642156#FFFFFF#000000##FFFFFF
##6421561.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223558
Deuteranopia (green-blind)
#373F54
Tritanopia (blue-blind)
#692438
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642156;
/* rgb */ color: rgb(100, 33, 86);
/* oklch */ color: oklch(37.0% 0.117 336.9);
Tailwind
colors: {
  custom: {
    50: '#936185',
    500: '#642156',
    950: '#000000',
  },
}
SCSS
$custom: #642156;
$custom-light: #936185;
$custom-dark: #000000;
JSON
{
  "hex": "#642156",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 312.537,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.11738,
    "h": 336.9
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#642156
secondary
#499859
accent
#DA6B4E
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #642156

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

Preview Lab → · Contrast checker → · Palette generator →

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