#6C174E#6C174E

#6C174E is a dark, vivid pink. Relative luminance 0.044; OKLCH L 36.9% C 0.132 H 345.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#6C174E
RGBrgb(108, 23, 78)
HSLhsl(321, 65%, 26%)
HSVhsv(321, 79%, 42%)
CMYKcmyk(0%, 78.7%, 27.8%, 57.6%)
CIE-LABlab(24.80, 42.02, -12.11)
CIE-LCHlch(24.80, 43.73, 343.92°)
OKLaboklab(36.92% 0.1275 -0.0321)
OKLCHoklch(36.92% 0.132 345.9)
XYZxyz(7.8662, 4.3519, 7.6320)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C174E #176C35
analogous
#5F176C #6C174E #6C1724
triadic
#6C174E #4E6C17 #174E6C
tetradic
#6C174E #6C5F17 #176C35 #17246C
square
#6C174E #6C5F17 #176C35 #17246C
split-complementary
#6C174E #246C17 #176C5F
monochromatic
#190512 #3A0C2A #6C174E #9E2272 #D12C97

Accessibility & contrast

On white

11.23
#6C174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6C174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C174E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C174E#FFFFFF#000000##FFFFFF
##6C174E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#3C404C
Tritanopia (blue-blind)
#741530
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c174e;
/* rgb */ color: rgb(108, 23, 78);
/* oklch */ color: oklch(36.9% 0.132 345.9);
Tailwind
colors: {
  custom: {
    50: '#9a5e7f',
    500: '#6c174e',
    950: '#000000',
  },
}
SCSS
$custom: #6c174e;
$custom-light: #9a5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c174e",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 321.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.13151,
    "h": 345.9
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#6C174E
secondary
#3DA261
accent
#E87B40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6C174E

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

Preview Lab → · Contrast checker → · Palette generator →

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