#642157#642157

#642157 is a dark, moderate pink. Relative luminance 0.045; OKLCH L 37.1% C 0.118 H 336.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#642157
RGBrgb(100, 33, 87)
HSLhsl(312, 50%, 26%)
HSVhsv(312, 67%, 39%)
CMYKcmyk(0%, 67%, 13%, 60.8%)
CIE-LABlab(25.22, 36.99, -17.60)
CIE-LCHlch(25.22, 40.96, 334.56°)
OKLaboklab(37.08% 0.1081 -0.0478)
OKLCHoklch(37.08% 0.118 336.2)
XYZxyz(7.5198, 4.4858, 9.4848)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642157 #21642E
analogous
#4F2164 #642157 #642135
triadic
#642157 #576421 #215764
tetradic
#642157 #644F21 #21642E #213564
square
#642157 #644F21 #21642E #213564
split-complementary
#642157 #356421 #21644F
monochromatic
#170814 #36122F #642157 #92307F #C040A7

Accessibility & contrast

On white

11.07
#642157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#642157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642157
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642157#FFFFFF#000000##FFFFFF
##6421571.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223559
Deuteranopia (green-blind)
#373F55
Tritanopia (blue-blind)
#692538
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642157;
/* rgb */ color: rgb(100, 33, 87);
/* oklch */ color: oklch(37.1% 0.118 336.2);
Tailwind
colors: {
  custom: {
    50: '#936186',
    500: '#642157',
    950: '#000000',
  },
}
SCSS
$custom: #642157;
$custom-light: #936186;
$custom-dark: #000000;
JSON
{
  "hex": "#642157",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 311.642,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.1182,
    "h": 336.2
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#642157
secondary
#499858
accent
#DA694E
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #642157

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

Preview Lab → · Contrast checker → · Palette generator →

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