#6C173A#6C173A

#6C173A is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.1% C 0.121 H 0.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#6C173A
RGBrgb(108, 23, 58)
HSLhsl(335, 65%, 26%)
HSVhsv(335, 79%, 42%)
CMYKcmyk(0%, 78.7%, 46.3%, 57.6%)
CIE-LABlab(24.02, 39.58, 0.31)
CIE-LCHlch(24.02, 39.58, 0.44°)
OKLaboklab(36.09% 0.1215 0.0012)
OKLCHoklch(36.09% 0.121 0.6)
XYZxyz(7.2550, 4.1074, 4.4129)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C173A #176C49
analogous
#6C1764 #6C173A #6C1E17
triadic
#6C173A #3A6C17 #173A6C
tetradic
#6C173A #646C17 #176C49 #1E176C
square
#6C173A #646C17 #176C49 #1E176C
split-complementary
#6C173A #176C1E #17646C
monochromatic
#19050E #3A0C1F #6C173A #9E2255 #D12C70

Accessibility & contrast

On white

11.53
#6C173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#6C173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C173A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C173A#FFFFFF#000000##FFFFFF
##6C173A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3B
Deuteranopia (green-blind)
#413F38
Tritanopia (blue-blind)
#760826
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6c173a;
/* rgb */ color: rgb(108, 23, 58);
/* oklch */ color: oklch(36.1% 0.121 0.6);
Tailwind
colors: {
  custom: {
    50: '#9a5d70',
    500: '#6c173a',
    950: '#000000',
  },
}
SCSS
$custom: #6c173a;
$custom-light: #9a5d70;
$custom-dark: #000000;
JSON
{
  "hex": "#6c173a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 335.294,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.12149,
    "h": 0.6
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#6C173A
secondary
#3DA278
accent
#E8A340
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0F0507
muted
#7E797A

Preview Lab

Preview with #6C173A

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

Preview Lab → · Contrast checker → · Palette generator →

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