#6C175B#6C175B

#6C175B is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.6% C 0.140 H 337.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#6C175B
RGBrgb(108, 23, 91)
HSLhsl(312, 65%, 26%)
HSVhsv(312, 79%, 42%)
CMYKcmyk(0%, 78.7%, 15.7%, 57.6%)
CIE-LABlab(25.43, 43.94, -19.79)
CIE-LCHlch(25.43, 48.19, 335.75°)
OKLaboklab(37.58% 0.1298 -0.0538)
OKLCHoklch(37.58% 0.14 337.5)
XYZxyz(8.3792, 4.5571, 10.3338)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C175B #176C28
analogous
#52176C #6C175B #6C1730
triadic
#6C175B #5B6C17 #175B6C
tetradic
#6C175B #6C5217 #176C28 #17306C
square
#6C175B #6C5217 #176C28 #17306C
split-complementary
#6C175B #306C17 #176C52
monochromatic
#190515 #3A0C30 #6C175B #9E2286 #D12CB0

Accessibility & contrast

On white

10.99
#6C175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C175B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C175B#FFFFFF#000000##FFFFFF
##6C175B1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c175b;
/* rgb */ color: rgb(108, 23, 91);
/* oklch */ color: oklch(37.6% 0.140 337.5);
Tailwind
colors: {
  custom: {
    50: '#995e89',
    500: '#6c175b',
    950: '#000000',
  },
}
SCSS
$custom: #6c175b;
$custom-light: #995e89;
$custom-dark: #000000;
JSON
{
  "hex": "#6c175b",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 312,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.14046,
    "h": 337.5
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#6C175B
secondary
#3DA251
accent
#E86240
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C175B

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

Preview Lab → · Contrast checker → · Palette generator →

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