#6C1840#6C1840

#6C1840 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.4% C 0.123 H 356.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#6C1840
RGBrgb(108, 24, 64)
HSLhsl(331, 64%, 26%)
HSVhsv(331, 78%, 42%)
CMYKcmyk(0%, 77.8%, 40.7%, 57.6%)
CIE-LABlab(24.36, 39.88, -3.30)
CIE-LCHlch(24.36, 40.02, 355.27°)
OKLaboklab(36.41% 0.1224 -0.0082)
OKLCHoklch(36.41% 0.123 356.2)
XYZxyz(7.4369, 4.2125, 5.2710)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1840 #186C44
analogous
#6C186A #6C1840 #6C1A18
triadic
#6C1840 #406C18 #18406C
tetradic
#6C1840 #6A6C18 #186C44 #1A186C
square
#6C1840 #6A6C18 #186C44 #1A186C
split-complementary
#6C1840 #186C1A #186A6C
monochromatic
#19060F #3A0D22 #6C1840 #9E235E #D02E7B

Accessibility & contrast

On white

11.40
#6C1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6C1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1840
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1840#FFFFFF#000000##FFFFFF
##6C18401.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#40403E
Tritanopia (blue-blind)
#750E29
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1840;
/* rgb */ color: rgb(108, 24, 64);
/* oklch */ color: oklch(36.4% 0.123 356.2);
Tailwind
colors: {
  custom: {
    50: '#9a5d74',
    500: '#6c1840',
    950: '#000000',
  },
}
SCSS
$custom: #6c1840;
$custom-light: #9a5d74;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1840",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 331.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.1227,
    "h": 356.2
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#6C1840
secondary
#3EA272
accent
#E79841
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0F0508
muted
#7E797B

Preview Lab

Preview with #6C1840

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

Preview Lab → · Contrast checker → · Palette generator →

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