#6C1748#6C1748

#6C1748 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.6% C 0.128 H 350.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#6C1748
RGBrgb(108, 23, 72)
HSLhsl(325, 65%, 26%)
HSVhsv(325, 79%, 42%)
CMYKcmyk(0%, 78.7%, 33.3%, 57.6%)
CIE-LABlab(24.54, 41.22, -8.46)
CIE-LCHlch(24.54, 42.08, 348.40°)
OKLaboklab(36.64% 0.126 -0.0221)
OKLCHoklch(36.64% 0.128 350.1)
XYZxyz(7.6609, 4.2697, 6.5503)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1748 #176C3B
analogous
#65176C #6C1748 #6C171D
triadic
#6C1748 #486C17 #17486C
tetradic
#6C1748 #6C6517 #176C3B #171D6C
square
#6C1748 #6C6517 #176C3B #171D6C
split-complementary
#6C1748 #1D6C17 #176C65
monochromatic
#190511 #3A0C26 #6C1748 #9E226A #D12C8B

Accessibility & contrast

On white

11.33
#6C1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6C1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1748
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1748#FFFFFF#000000##FFFFFF
##6C17481.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253149
Deuteranopia (green-blind)
#3E4046
Tritanopia (blue-blind)
#74112D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1748;
/* rgb */ color: rgb(108, 23, 72);
/* oklch */ color: oklch(36.6% 0.128 350.1);
Tailwind
colors: {
  custom: {
    50: '#9a5d7b',
    500: '#6c1748',
    950: '#000000',
  },
}
SCSS
$custom: #6c1748;
$custom-light: #9a5d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1748",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 325.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.12795,
    "h": 350.1
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#6C1748
secondary
#3DA268
accent
#E88740
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6C1748

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

Preview Lab → · Contrast checker → · Palette generator →

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