#641242#641242

#641242 is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.5% C 0.124 H 350.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#641242
RGBrgb(100, 18, 66)
HSLhsl(325, 69%, 23%)
HSVhsv(325, 82%, 39%)
CMYKcmyk(0%, 82%, 34%, 60.8%)
CIE-LABlab(22.07, 39.89, -8.27)
CIE-LCHlch(22.07, 40.74, 348.29°)
OKLaboklab(34.47% 0.1221 -0.0216)
OKLCHoklch(34.47% 0.124 350)
XYZxyz(6.4556, 3.5360, 5.4958)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641242 #126434
analogous
#5D1264 #641242 #641219
triadic
#641242 #426412 #124264
tetradic
#641242 #645D12 #126434 #121964
square
#641242 #645D12 #126434 #121964
split-complementary
#641242 #196412 #12645D
monochromatic
#1A0511 #300920 #641242 #981B64 #CC2586

Accessibility & contrast

On white

12.30
#641242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#641242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641242
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641242#FFFFFF#000000##FFFFFF
##6412421.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C43
Deuteranopia (green-blind)
#383A40
Tritanopia (blue-blind)
#6C0C28
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #641242;
/* rgb */ color: rgb(100, 18, 66);
/* oklch */ color: oklch(34.5% 0.124 350.0);
Tailwind
colors: {
  custom: {
    50: '#945a76',
    500: '#641242',
    950: '#000000',
  },
}
SCSS
$custom: #641242;
$custom-light: #945a76;
$custom-dark: #000000;
JSON
{
  "hex": "#641242",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 324.878,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.12396,
    "h": 350
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#641242
secondary
#369C60
accent
#EC853B
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #641242

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

Preview Lab → · Contrast checker → · Palette generator →

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