#642154#642154

#642154 is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.9% C 0.116 H 338.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#642154
RGBrgb(100, 33, 84)
HSLhsl(314, 50%, 26%)
HSVhsv(314, 67%, 39%)
CMYKcmyk(0%, 67%, 16%, 60.8%)
CIE-LABlab(25.07, 36.48, -15.83)
CIE-LCHlch(25.07, 39.77, 336.53°)
OKLaboklab(36.92% 0.1076 -0.0428)
OKLCHoklch(36.92% 0.116 338.3)
XYZxyz(7.3997, 4.4378, 8.8526)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642154 #216431
analogous
#522164 #642154 #642132
triadic
#642154 #546421 #215464
tetradic
#642154 #645221 #216431 #213264
square
#642154 #645221 #216431 #213264
split-complementary
#642154 #326421 #216452
monochromatic
#170813 #36122D #642154 #92307B #C040A1

Accessibility & contrast

On white

11.13
#642154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642154
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642154#FFFFFF#000000##FFFFFF
##6421541.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243556
Deuteranopia (green-blind)
#383F52
Tritanopia (blue-blind)
#6A2437
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #642154;
/* rgb */ color: rgb(100, 33, 84);
/* oklch */ color: oklch(36.9% 0.116 338.3);
Tailwind
colors: {
  custom: {
    50: '#936184',
    500: '#642154',
    950: '#000000',
  },
}
SCSS
$custom: #642154;
$custom-light: #936184;
$custom-dark: #000000;
JSON
{
  "hex": "#642154",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 314.328,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.11576,
    "h": 338.3
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#642154
secondary
#49985C
accent
#DA6F4E
background
#F9F5F8
surface
#F2EAEF
border
#CCC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #642154

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

Preview Lab → · Contrast checker → · Palette generator →

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