#642155#642155

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

Color values

HEX#642155
RGBrgb(100, 33, 85)
HSLhsl(313, 50%, 26%)
HSVhsv(313, 67%, 39%)
CMYKcmyk(0%, 67%, 15%, 60.8%)
CIE-LABlab(25.12, 36.65, -16.42)
CIE-LCHlch(25.12, 40.16, 335.86°)
OKLaboklab(36.97% 0.1078 -0.0445)
OKLCHoklch(36.97% 0.117 337.6)
XYZxyz(7.4392, 4.4535, 9.0604)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642155 #216430
analogous
#512164 #642155 #642133
triadic
#642155 #556421 #215564
tetradic
#642155 #645121 #216430 #213364
square
#642155 #645121 #216430 #213364
split-complementary
#642155 #336421 #216451
monochromatic
#170814 #36122E #642155 #92307C #C040A3

Accessibility & contrast

On white

11.11
#642155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642155
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642155#FFFFFF#000000##FFFFFF
##6421551.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233557
Deuteranopia (green-blind)
#383F53
Tritanopia (blue-blind)
#692437
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642155;
/* rgb */ color: rgb(100, 33, 85);
/* oklch */ color: oklch(37.0% 0.117 337.6);
Tailwind
colors: {
  custom: {
    50: '#936185',
    500: '#642155',
    950: '#000000',
  },
}
SCSS
$custom: #642155;
$custom-light: #936185;
$custom-dark: #000000;
JSON
{
  "hex": "#642155",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 313.433,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.11656,
    "h": 337.6
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#642155
secondary
#49985B
accent
#DA6D4E
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #642155

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

Preview Lab → · Contrast checker → · Palette generator →

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