#6D175C#6D175C

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

Color values

HEX#6D175C
RGBrgb(109, 23, 92)
HSLhsl(312, 65%, 26%)
HSVhsv(312, 79%, 43%)
CMYKcmyk(0%, 78.9%, 15.6%, 57.3%)
CIE-LABlab(25.68, 44.35, -20.06)
CIE-LCHlch(25.68, 48.68, 335.67°)
OKLaboklab(37.81% 0.1309 -0.0545)
OKLCHoklch(37.81% 0.142 337.4)
XYZxyz(8.5450, 4.6375, 10.5682)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D175C #176D28
analogous
#53176D #6D175C #6D1731
triadic
#6D175C #5C6D17 #175C6D
tetradic
#6D175C #6D5317 #176D28 #17316D
square
#6D175C #6D5317 #176D28 #17316D
split-complementary
#6D175C #316D17 #176D53
monochromatic
#190515 #3A0C31 #6D175C #A02287 #D22CB1

Accessibility & contrast

On white

10.90
#6D175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6D175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D175C
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D175C#FFFFFF#000000##FFFFFF
##6D175C1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345E
Deuteranopia (green-blind)
#38425A
Tritanopia (blue-blind)
#731C38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d175c;
/* rgb */ color: rgb(109, 23, 92);
/* oklch */ color: oklch(37.8% 0.142 337.4);
Tailwind
colors: {
  custom: {
    50: '#9a5e8a',
    500: '#6d175c',
    950: '#000000',
  },
}
SCSS
$custom: #6d175c;
$custom-light: #9a5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d175c",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 311.86,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.14183,
    "h": 337.4
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#6D175C
secondary
#3DA351
accent
#E86140
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D175C

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

Preview Lab → · Contrast checker → · Palette generator →

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