#6C174D#6C174D

#6C174D is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.9% C 0.131 H 346.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#6C174D
RGBrgb(108, 23, 77)
HSLhsl(322, 65%, 26%)
HSVhsv(322, 79%, 42%)
CMYKcmyk(0%, 78.7%, 28.7%, 57.6%)
CIE-LABlab(24.76, 41.89, -11.51)
CIE-LCHlch(24.76, 43.44, 344.63°)
OKLaboklab(36.87% 0.1273 -0.0305)
OKLCHoklch(36.87% 0.131 346.5)
XYZxyz(7.8307, 4.3376, 7.4446)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C174D #176C36
analogous
#60176C #6C174D #6C1723
triadic
#6C174D #4D6C17 #174D6C
tetradic
#6C174D #6C6017 #176C36 #17236C
square
#6C174D #6C6017 #176C36 #17236C
split-complementary
#6C174D #236C17 #176C60
monochromatic
#190512 #3A0C29 #6C174D #9E2271 #D12C95

Accessibility & contrast

On white

11.25
#6C174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C174D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C174D#FFFFFF#000000##FFFFFF
##6C174D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#3C404B
Tritanopia (blue-blind)
#741430
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c174d;
/* rgb */ color: rgb(108, 23, 77);
/* oklch */ color: oklch(36.9% 0.131 346.5);
Tailwind
colors: {
  custom: {
    50: '#9a5e7e',
    500: '#6c174d',
    950: '#000000',
  },
}
SCSS
$custom: #6c174d;
$custom-light: #9a5e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c174d",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 321.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.1309,
    "h": 346.5
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#6C174D
secondary
#3DA262
accent
#E87D40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6C174D

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

Preview Lab → · Contrast checker → · Palette generator →

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