#642256#642256

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

Color values

HEX#642256
RGBrgb(100, 34, 86)
HSLhsl(313, 49%, 26%)
HSVhsv(313, 66%, 39%)
CMYKcmyk(0%, 66%, 14%, 60.8%)
CIE-LABlab(25.34, 36.34, -16.74)
CIE-LCHlch(25.34, 40.02, 335.27°)
OKLaboklab(37.15% 0.1065 -0.0454)
OKLCHoklch(37.15% 0.116 336.9)
XYZxyz(7.5074, 4.5259, 9.2805)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642256 #226430
analogous
#512264 #642256 #642235
triadic
#642256 #566422 #225664
tetradic
#642256 #645122 #226430 #223564
square
#642256 #645122 #226430 #223564
split-complementary
#642256 #356422 #226451
monochromatic
#170814 #36122F #642256 #92327D #BF42A4

Accessibility & contrast

On white

11.02
#642256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#642256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642256
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642256#FFFFFF#000000##FFFFFF
##6422561.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233658
Deuteranopia (green-blind)
#384054
Tritanopia (blue-blind)
#692538
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642256;
/* rgb */ color: rgb(100, 34, 86);
/* oklch */ color: oklch(37.1% 0.116 336.9);
Tailwind
colors: {
  custom: {
    50: '#926285',
    500: '#642256',
    950: '#000000',
  },
}
SCSS
$custom: #642256;
$custom-light: #926285;
$custom-dark: #000000;
JSON
{
  "hex": "#642256",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 312.727,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37149,
    "c": 0.11579,
    "h": 336.9
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#642256
secondary
#4A985A
accent
#D96C4F
background
#F9F6F8
surface
#F1EBEF
border
#CBC6CA
text
#0D050B
muted
#7E7A7C

Preview Lab

Preview with #642256

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

Preview Lab → · Contrast checker → · Palette generator →

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