#6C173F#6C173F

#6C173F is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.3% C 0.123 H 356.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#6C173F
RGBrgb(108, 23, 63)
HSLhsl(332, 65%, 26%)
HSVhsv(332, 79%, 42%)
CMYKcmyk(0%, 78.7%, 41.7%, 57.6%)
CIE-LABlab(24.20, 40.13, -2.87)
CIE-LCHlch(24.20, 40.24, 355.92°)
OKLaboklab(36.28% 0.1233 -0.007)
OKLCHoklch(36.28% 0.123 356.7)
XYZxyz(7.3885, 4.1607, 5.1157)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C173F #176C44
analogous
#6C1769 #6C173F #6C1A17
triadic
#6C173F #3F6C17 #173F6C
tetradic
#6C173F #696C17 #176C44 #1A176C
square
#6C173F #696C17 #176C44 #1A176C
split-complementary
#6C173F #176C1A #17696C
monochromatic
#19050F #3A0C22 #6C173F #9E225C #D12C7A

Accessibility & contrast

On white

11.46
#6C173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6C173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C173F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C173F#FFFFFF#000000##FFFFFF
##6C173F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#403F3D
Tritanopia (blue-blind)
#750C29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6c173f;
/* rgb */ color: rgb(108, 23, 63);
/* oklch */ color: oklch(36.3% 0.123 356.7);
Tailwind
colors: {
  custom: {
    50: '#9a5d73',
    500: '#6c173f',
    950: '#000000',
  },
}
SCSS
$custom: #6c173f;
$custom-light: #9a5d73;
$custom-dark: #000000;
JSON
{
  "hex": "#6c173f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 331.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36276,
    "c": 0.12346,
    "h": 356.7
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#6C173F
secondary
#3DA272
accent
#E89940
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0F0508
muted
#7E797B

Preview Lab

Preview with #6C173F

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

Preview Lab → · Contrast checker → · Palette generator →

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