#6C174F#6C174F

#6C174F is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.0% C 0.132 H 345.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#6C174F
RGBrgb(108, 23, 79)
HSLhsl(320, 65%, 26%)
HSVhsv(320, 79%, 42%)
CMYKcmyk(0%, 78.7%, 26.9%, 57.6%)
CIE-LABlab(24.85, 42.16, -12.72)
CIE-LCHlch(24.85, 44.04, 343.22°)
OKLaboklab(36.96% 0.1278 -0.0338)
OKLCHoklch(36.96% 0.132 345.2)
XYZxyz(7.9024, 4.3663, 7.8222)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C174F #176C34
analogous
#5E176C #6C174F #6C1724
triadic
#6C174F #4F6C17 #174F6C
tetradic
#6C174F #6C5E17 #176C34 #17246C
square
#6C174F #6C5E17 #176C34 #17246C
split-complementary
#6C174F #246C17 #176C5E
monochromatic
#190512 #3A0C2A #6C174F #9E2274 #D12C99

Accessibility & contrast

On white

11.21
#6C174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6C174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C174F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C174F#FFFFFF#000000##FFFFFF
##6C174F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223251
Deuteranopia (green-blind)
#3C404D
Tritanopia (blue-blind)
#741531
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c174f;
/* rgb */ color: rgb(108, 23, 79);
/* oklch */ color: oklch(37.0% 0.132 345.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e80',
    500: '#6c174f',
    950: '#000000',
  },
}
SCSS
$custom: #6c174f;
$custom-light: #9a5e80;
$custom-dark: #000000;
JSON
{
  "hex": "#6c174f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 320.471,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.13215,
    "h": 345.2
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#6C174F
secondary
#3DA25F
accent
#E87940
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6C174F

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

Preview Lab → · Contrast checker → · Palette generator →

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