#6C175A#6C175A

#6C175A is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.5% C 0.140 H 338.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#6C175A
RGBrgb(108, 23, 90)
HSLhsl(313, 65%, 26%)
HSVhsv(313, 79%, 42%)
CMYKcmyk(0%, 78.7%, 16.7%, 57.6%)
CIE-LABlab(25.38, 43.78, -19.21)
CIE-LCHlch(25.38, 47.81, 336.31°)
OKLaboklab(37.53% 0.1296 -0.0521)
OKLCHoklch(37.53% 0.14 338.1)
XYZxyz(8.3364, 4.5399, 10.1081)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C175A #176C29
analogous
#53176C #6C175A #6C172F
triadic
#6C175A #5A6C17 #175A6C
tetradic
#6C175A #6C5317 #176C29 #172F6C
square
#6C175A #6C5317 #176C29 #172F6C
split-complementary
#6C175A #2F6C17 #176C53
monochromatic
#190515 #3A0C30 #6C175A #9E2284 #D12CAE

Accessibility & contrast

On white

11.01
#6C175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6C175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C175A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C175A#FFFFFF#000000##FFFFFF
##6C175A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345C
Deuteranopia (green-blind)
#384158
Tritanopia (blue-blind)
#721C37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c175a;
/* rgb */ color: rgb(108, 23, 90);
/* oklch */ color: oklch(37.5% 0.140 338.1);
Tailwind
colors: {
  custom: {
    50: '#995e89',
    500: '#6c175a',
    950: '#000000',
  },
}
SCSS
$custom: #6c175a;
$custom-light: #995e89;
$custom-dark: #000000;
JSON
{
  "hex": "#6c175a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 312.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.13972,
    "h": 338.1
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#6C175A
secondary
#3DA252
accent
#E86340
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C175A

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

Preview Lab → · Contrast checker → · Palette generator →

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