#6A164C#6A164C

#6A164C is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.4% C 0.130 H 346.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#6A164C
RGBrgb(106, 22, 76)
HSLhsl(321, 66%, 25%)
HSVhsv(321, 79%, 42%)
CMYKcmyk(0%, 79.2%, 28.3%, 58.4%)
CIE-LABlab(24.20, 41.54, -11.73)
CIE-LCHlch(24.20, 43.17, 344.23°)
OKLaboklab(36.37% 0.1262 -0.0311)
OKLCHoklch(36.37% 0.13 346.2)
XYZxyz(7.5356, 4.1606, 7.2423)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A164C #166A34
analogous
#5E166A #6A164C #6A1622
triadic
#6A164C #4C6A16 #164C6A
tetradic
#6A164C #6A5E16 #166A34 #16226A
square
#6A164C #6A5E16 #166A34 #16226A
split-complementary
#6A164C #226A16 #166A5E
monochromatic
#190512 #370B28 #6A164C #9D2170 #CF2B95

Accessibility & contrast

On white

11.46
#6A164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A164C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A164C#FFFFFF#000000##FFFFFF
##6A164C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#3B3F4A
Tritanopia (blue-blind)
#72142F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a164c;
/* rgb */ color: rgb(106, 22, 76);
/* oklch */ color: oklch(36.4% 0.130 346.2);
Tailwind
colors: {
  custom: {
    50: '#985d7e',
    500: '#6a164c',
    950: '#000000',
  },
}
SCSS
$custom: #6a164c;
$custom-light: #985d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a164c",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 321.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.12995,
    "h": 346.2
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#6A164C
secondary
#3BA05F
accent
#E97C3F
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6A164C

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

Preview Lab → · Contrast checker → · Palette generator →

#6A164C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva