#6C1740#6C1740

#6C1740 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.3% C 0.124 H 356.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#6C1740
RGBrgb(108, 23, 64)
HSLhsl(331, 65%, 26%)
HSVhsv(331, 79%, 42%)
CMYKcmyk(0%, 78.7%, 40.7%, 57.6%)
CIE-LABlab(24.23, 40.25, -3.49)
CIE-LCHlch(24.23, 40.40, 355.04°)
OKLaboklab(36.32% 0.1236 -0.0087)
OKLCHoklch(36.32% 0.124 356)
XYZxyz(7.4167, 4.1720, 5.2642)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1740 #176C43
analogous
#6C176A #6C1740 #6C1917
triadic
#6C1740 #406C17 #17406C
tetradic
#6C1740 #6A6C17 #176C43 #19176C
square
#6C1740 #6A6C17 #176C43 #19176C
split-complementary
#6C1740 #176C19 #176A6C
monochromatic
#19050F #3A0C22 #6C1740 #9E225E #D12C7C

Accessibility & contrast

On white

11.45
#6C1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6C1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1740
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1740#FFFFFF#000000##FFFFFF
##6C17401.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283041
Deuteranopia (green-blind)
#403F3E
Tritanopia (blue-blind)
#750C29
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1740;
/* rgb */ color: rgb(108, 23, 64);
/* oklch */ color: oklch(36.3% 0.124 356.0);
Tailwind
colors: {
  custom: {
    50: '#9a5d74',
    500: '#6c1740',
    950: '#000000',
  },
}
SCSS
$custom: #6c1740;
$custom-light: #9a5d74;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1740",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 331.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36315,
    "c": 0.1239,
    "h": 356
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#6C1740
secondary
#3DA271
accent
#E89740
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0F0508
muted
#7E797B

Preview Lab

Preview with #6C1740

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

Preview Lab → · Contrast checker → · Palette generator →

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