#6A174C#6A174C

#6A174C is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.5% C 0.129 H 346.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#6A174C
RGBrgb(106, 23, 76)
HSLhsl(322, 64%, 25%)
HSVhsv(322, 78%, 42%)
CMYKcmyk(0%, 78.3%, 28.3%, 58.4%)
CIE-LABlab(24.32, 41.19, -11.54)
CIE-LCHlch(24.32, 42.77, 344.35°)
OKLaboklab(36.46% 0.1251 -0.0306)
OKLCHoklch(36.46% 0.129 346.3)
XYZxyz(7.5551, 4.1996, 7.2488)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174C #176A35
analogous
#5E176A #6A174C #6A1722
triadic
#6A174C #4C6A17 #174C6A
tetradic
#6A174C #6A5E17 #176A35 #17226A
square
#6A174C #6A5E17 #176A35 #17226A
split-complementary
#6A174C #226A17 #176A5E
monochromatic
#190512 #380C28 #6A174C #9C2270 #CF2D94

Accessibility & contrast

On white

11.41
#6A174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A174C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A174C#FFFFFF#000000##FFFFFF
##6A174C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314D
Deuteranopia (green-blind)
#3B3F4A
Tritanopia (blue-blind)
#72152F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174c;
/* rgb */ color: rgb(106, 23, 76);
/* oklch */ color: oklch(36.5% 0.129 346.3);
Tailwind
colors: {
  custom: {
    50: '#985d7e',
    500: '#6a174c',
    950: '#000000',
  },
}
SCSS
$custom: #6a174c;
$custom-light: #985d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174c",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 321.687,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.12875,
    "h": 346.3
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#6A174C
secondary
#3DA061
accent
#E77D40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6A174C

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

Preview Lab → · Contrast checker → · Palette generator →

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