#6C172F#6C172F

#6C172F is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.7% C 0.119 H 9.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#6C172F
RGBrgb(108, 23, 47)
HSLhsl(343, 65%, 26%)
HSVhsv(343, 79%, 42%)
CMYKcmyk(0%, 78.7%, 56.5%, 57.6%)
CIE-LABlab(23.70, 38.53, 7.41)
CIE-LCHlch(23.70, 39.23, 10.89°)
OKLaboklab(35.74% 0.1171 0.0189)
OKLCHoklch(35.74% 0.119 9.2)
XYZxyz(7.0045, 4.0072, 3.0934)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C172F #176C54
analogous
#6C1759 #6C172F #6C2917
triadic
#6C172F #2F6C17 #172F6C
tetradic
#6C172F #596C17 #176C54 #29176C
square
#6C172F #596C17 #176C54 #29176C
split-complementary
#6C172F #176C29 #17596C
monochromatic
#19050B #3A0C19 #6C172F #9E2245 #D12C5B

Accessibility & contrast

On white

11.66
#6C172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#6C172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C172F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C172F#FFFFFF#000000##FFFFFF
##6C172F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2F
Deuteranopia (green-blind)
#433F2D
Tritanopia (blue-blind)
#760121
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c172f;
/* rgb */ color: rgb(108, 23, 47);
/* oklch */ color: oklch(35.7% 0.119 9.2);
Tailwind
colors: {
  custom: {
    50: '#9b5c67',
    500: '#6c172f',
    950: '#000000',
  },
}
SCSS
$custom: #6c172f;
$custom-light: #9b5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c172f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 343.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.11859,
    "h": 9.2
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#6C172F
secondary
#3DA285
accent
#E8B840
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0406
muted
#7F797A

Preview Lab

Preview with #6C172F

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

Preview Lab → · Contrast checker → · Palette generator →

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