#6D175A#6D175A

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

Color values

HEX#6D175A
RGBrgb(109, 23, 90)
HSLhsl(313, 65%, 26%)
HSVhsv(313, 79%, 43%)
CMYKcmyk(0%, 78.9%, 17.4%, 57.3%)
CIE-LABlab(25.57, 44.04, -18.90)
CIE-LCHlch(25.57, 47.93, 336.77°)
OKLaboklab(37.7% 0.1307 -0.0512)
OKLCHoklch(37.7% 0.14 338.6)
XYZxyz(8.4587, 4.6030, 10.1139)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D175A #176D2A
analogous
#55176D #6D175A #6D172F
triadic
#6D175A #5A6D17 #175A6D
tetradic
#6D175A #6D5517 #176D2A #172F6D
square
#6D175A #6D5517 #176D2A #172F6D
split-complementary
#6D175A #2F6D17 #176D55
monochromatic
#190515 #3A0C30 #6D175A #A02284 #D22CAD

Accessibility & contrast

On white

10.94
#6D175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D175A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D175A#FFFFFF#000000##FFFFFF
##6D175A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C345C
Deuteranopia (green-blind)
#394158
Tritanopia (blue-blind)
#741B37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d175a;
/* rgb */ color: rgb(109, 23, 90);
/* oklch */ color: oklch(37.7% 0.140 338.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e89',
    500: '#6d175a',
    950: '#000000',
  },
}
SCSS
$custom: #6d175a;
$custom-light: #9a5e89;
$custom-dark: #000000;
JSON
{
  "hex": "#6d175a",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 313.256,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.377,
    "c": 0.14037,
    "h": 338.6
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#6D175A
secondary
#3DA353
accent
#E86540
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D175A

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

Preview Lab → · Contrast checker → · Palette generator →

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