#6C174C#6C174C

#6C174C is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.8% C 0.130 H 347.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#6C174C
RGBrgb(108, 23, 76)
HSLhsl(323, 65%, 26%)
HSVhsv(323, 79%, 42%)
CMYKcmyk(0%, 78.7%, 29.6%, 57.6%)
CIE-LABlab(24.71, 41.75, -10.90)
CIE-LCHlch(24.71, 43.15, 345.36°)
OKLaboklab(36.82% 0.1271 -0.0288)
OKLCHoklch(36.82% 0.13 347.2)
XYZxyz(7.7956, 4.3236, 7.2601)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C174C #176C37
analogous
#61176C #6C174C #6C1722
triadic
#6C174C #4C6C17 #174C6C
tetradic
#6C174C #6C6117 #176C37 #17226C
square
#6C174C #6C6117 #176C37 #17226C
split-complementary
#6C174C #226C17 #176C61
monochromatic
#190512 #3A0C28 #6C174C #9E2270 #D12C93

Accessibility & contrast

On white

11.26
#6C174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6C174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C174C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C174C#FFFFFF#000000##FFFFFF
##6C174C1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314D
Deuteranopia (green-blind)
#3D404A
Tritanopia (blue-blind)
#74142F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c174c;
/* rgb */ color: rgb(108, 23, 76);
/* oklch */ color: oklch(36.8% 0.130 347.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e7e',
    500: '#6c174c',
    950: '#000000',
  },
}
SCSS
$custom: #6c174c;
$custom-light: #9a5e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c174c",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 322.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.13028,
    "h": 347.2
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#6C174C
secondary
#3DA263
accent
#E87F40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6C174C

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

Preview Lab → · Contrast checker → · Palette generator →

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