#6C173B#6C173B

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

Color values

HEX#6C173B
RGBrgb(108, 23, 59)
HSLhsl(335, 65%, 26%)
HSVhsv(335, 79%, 42%)
CMYKcmyk(0%, 78.7%, 45.4%, 57.6%)
CIE-LABlab(24.06, 39.69, -0.33)
CIE-LCHlch(24.06, 39.69, 359.52°)
OKLaboklab(36.13% 0.1218 -0.0004)
OKLCHoklch(36.13% 0.122 359.8)
XYZxyz(7.2807, 4.1176, 4.5482)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C173B #176C48
analogous
#6C1765 #6C173B #6C1D17
triadic
#6C173B #3B6C17 #173B6C
tetradic
#6C173B #656C17 #176C48 #1D176C
square
#6C173B #656C17 #176C48 #1D176C
split-complementary
#6C173B #176C1D #17656C
monochromatic
#19050E #3A0C1F #6C173B #9E2257 #D12C72

Accessibility & contrast

On white

11.52
#6C173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C173B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C173B#FFFFFF#000000##FFFFFF
##6C173B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3C
Deuteranopia (green-blind)
#413F39
Tritanopia (blue-blind)
#760927
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6c173b;
/* rgb */ color: rgb(108, 23, 59);
/* oklch */ color: oklch(36.1% 0.122 359.8);
Tailwind
colors: {
  custom: {
    50: '#9a5d70',
    500: '#6c173b',
    950: '#000000',
  },
}
SCSS
$custom: #6c173b;
$custom-light: #9a5d70;
$custom-dark: #000000;
JSON
{
  "hex": "#6c173b",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 334.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.12184,
    "h": 359.8
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#6C173B
secondary
#3DA277
accent
#E8A140
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0F0507
muted
#7E797A

Preview Lab

Preview with #6C173B

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

Preview Lab → · Contrast checker → · Palette generator →

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