#642148#642148

#642148 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.3% C 0.107 H 347.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#642148
RGBrgb(100, 33, 72)
HSLhsl(325, 50%, 26%)
HSVhsv(325, 67%, 39%)
CMYKcmyk(0%, 67%, 28%, 60.8%)
CIE-LABlab(24.53, 34.58, -8.63)
CIE-LCHlch(24.53, 35.64, 345.99°)
OKLaboklab(36.35% 0.1046 -0.0227)
OKLCHoklch(36.35% 0.107 347.8)
XYZxyz(6.9694, 4.2656, 6.5859)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642148 #21643D
analogous
#5E2164 #642148 #642126
triadic
#642148 #486421 #214864
tetradic
#642148 #645E21 #21643D #212664
square
#642148 #645E21 #21643D #212664
split-complementary
#642148 #266421 #21645E
monochromatic
#170811 #361227 #642148 #923069 #C0408A

Accessibility & contrast

On white

11.33
#642148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#642148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642148
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642148#FFFFFF#000000##FFFFFF
##6421481.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293349
Deuteranopia (green-blind)
#3C3F46
Tritanopia (blue-blind)
#6B1F31
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642148;
/* rgb */ color: rgb(100, 33, 72);
/* oklch */ color: oklch(36.3% 0.107 347.8);
Tailwind
colors: {
  custom: {
    50: '#93617b',
    500: '#642148',
    950: '#000000',
  },
}
SCSS
$custom: #642148;
$custom-light: #93617b;
$custom-dark: #000000;
JSON
{
  "hex": "#642148",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 325.075,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.10706,
    "h": 347.8
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#642148
secondary
#49986A
accent
#DA884E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #642148

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

Preview Lab → · Contrast checker → · Palette generator →

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