#642452#642452

#642452 is a dark, moderate pink. Relative luminance 0.046; OKLCH L 37.2% C 0.109 H 340.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#642452
RGBrgb(100, 36, 82)
HSLhsl(317, 47%, 27%)
HSVhsv(317, 64%, 39%)
CMYKcmyk(0%, 64%, 18%, 60.8%)
CIE-LABlab(25.51, 34.69, -13.83)
CIE-LCHlch(25.51, 37.34, 338.26°)
OKLaboklab(37.21% 0.1028 -0.0372)
OKLCHoklch(37.21% 0.109 340.1)
XYZxyz(7.4095, 4.5809, 8.4750)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642452 #246436
analogous
#562464 #642452 #642432
triadic
#642452 #526424 #245264
tetradic
#642452 #645624 #246436 #243264
square
#642452 #645624 #246436 #243264
split-complementary
#642452 #326424 #246456
monochromatic
#170812 #37142D #642452 #913477 #BC469B

Accessibility & contrast

On white

10.96
#642452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#642452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642452
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642452#FFFFFF#000000##FFFFFF
##6424521.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273653
Deuteranopia (green-blind)
#3A4050
Tritanopia (blue-blind)
#6A2537
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642452;
/* rgb */ color: rgb(100, 36, 82);
/* oklch */ color: oklch(37.2% 0.109 340.1);
Tailwind
colors: {
  custom: {
    50: '#926382',
    500: '#642452',
    950: '#000000',
  },
}
SCSS
$custom: #642452;
$custom-light: #926382;
$custom-dark: #000000;
JSON
{
  "hex": "#642452",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 316.875,
    "s": 47.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.10931,
    "h": 340.1
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#642452
secondary
#4C9761
accent
#D77751
background
#F9F6F8
surface
#F1EBEF
border
#CBC6CA
text
#0D050A
muted
#7E7A7C

Preview Lab

Preview with #642452

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

Preview Lab → · Contrast checker → · Palette generator →

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