#6C175D#6C175D

#6C175D is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.7% C 0.142 H 336.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#6C175D
RGBrgb(108, 23, 93)
HSLhsl(311, 65%, 26%)
HSVhsv(311, 79%, 42%)
CMYKcmyk(0%, 78.7%, 13.9%, 57.6%)
CIE-LABlab(25.54, 44.25, -20.94)
CIE-LCHlch(25.54, 48.96, 334.67°)
OKLaboklab(37.69% 0.13 -0.0571)
OKLCHoklch(37.69% 0.142 336.3)
XYZxyz(8.4667, 4.5920, 10.7942)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C175D #176C26
analogous
#50176C #6C175D #6C1732
triadic
#6C175D #5D6C17 #175D6C
tetradic
#6C175D #6C5017 #176C26 #17326C
square
#6C175D #6C5017 #176C26 #17326C
split-complementary
#6C175D #326C17 #176C50
monochromatic
#190516 #3A0C32 #6C175D #9E2288 #D12CB4

Accessibility & contrast

On white

10.95
#6C175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6C175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C175D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C175D#FFFFFF#000000##FFFFFF
##6C175D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345F
Deuteranopia (green-blind)
#36415B
Tritanopia (blue-blind)
#721D38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c175d;
/* rgb */ color: rgb(108, 23, 93);
/* oklch */ color: oklch(37.7% 0.142 336.3);
Tailwind
colors: {
  custom: {
    50: '#995e8b',
    500: '#6c175d',
    950: '#000000',
  },
}
SCSS
$custom: #6c175d;
$custom-light: #995e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c175d",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 310.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.14196,
    "h": 336.3
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#6C175D
secondary
#3DA24F
accent
#E85E40
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C175D

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

Preview Lab → · Contrast checker → · Palette generator →

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