#6C174B#6C174B

#6C174B is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.8% C 0.130 H 347.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#6C174B
RGBrgb(108, 23, 75)
HSLhsl(323, 65%, 26%)
HSVhsv(323, 79%, 42%)
CMYKcmyk(0%, 78.7%, 30.6%, 57.6%)
CIE-LABlab(24.67, 41.62, -10.30)
CIE-LCHlch(24.67, 42.87, 346.10°)
OKLaboklab(36.78% 0.1268 -0.0271)
OKLCHoklch(36.78% 0.13 347.9)
XYZxyz(7.7611, 4.3098, 7.0784)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C174B #176C38
analogous
#62176C #6C174B #6C1721
triadic
#6C174B #4B6C17 #174B6C
tetradic
#6C174B #6C6217 #176C38 #17216C
square
#6C174B #6C6217 #176C38 #17216C
split-complementary
#6C174B #216C17 #176C62
monochromatic
#190512 #3A0C28 #6C174B #9E226E #D12C91

Accessibility & contrast

On white

11.28
#6C174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6C174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C174B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C174B#FFFFFF#000000##FFFFFF
##6C174B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314C
Deuteranopia (green-blind)
#3D4049
Tritanopia (blue-blind)
#74132F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c174b;
/* rgb */ color: rgb(108, 23, 75);
/* oklch */ color: oklch(36.8% 0.130 347.9);
Tailwind
colors: {
  custom: {
    50: '#9a5d7d',
    500: '#6c174b',
    950: '#000000',
  },
}
SCSS
$custom: #6c174b;
$custom-light: #9a5d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c174b",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 323.294,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36778,
    "c": 0.12968,
    "h": 347.9
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#6C174B
secondary
#3DA264
accent
#E88140
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6C174B

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

Preview Lab → · Contrast checker → · Palette generator →

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