#6B174C#6B174C

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

Color values

HEX#6B174C
RGBrgb(107, 23, 76)
HSLhsl(322, 65%, 25%)
HSVhsv(322, 79%, 42%)
CMYKcmyk(0%, 78.5%, 29%, 58%)
CIE-LABlab(24.52, 41.47, -11.22)
CIE-LCHlch(24.52, 42.96, 344.86°)
OKLaboklab(36.64% 0.1261 -0.0297)
OKLCHoklch(36.64% 0.13 346.8)
XYZxyz(7.6747, 4.2612, 7.2544)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B174C #176B36
analogous
#60176B #6B174C #6B1722
triadic
#6B174C #4C6B17 #174C6B
tetradic
#6B174C #6B6017 #176B36 #17226B
square
#6B174C #6B6017 #176B36 #17226B
split-complementary
#6B174C #226B17 #176B60
monochromatic
#190512 #390C28 #6B174C #9D2270 #D02D94

Accessibility & contrast

On white

11.34
#6B174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B174C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B174C#FFFFFF#000000##FFFFFF
##6B174C1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314D
Deuteranopia (green-blind)
#3C3F4A
Tritanopia (blue-blind)
#73142F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6b174c;
/* rgb */ color: rgb(107, 23, 76);
/* oklch */ color: oklch(36.6% 0.130 346.8);
Tailwind
colors: {
  custom: {
    50: '#995d7e',
    500: '#6b174c',
    950: '#000000',
  },
}
SCSS
$custom: #6b174c;
$custom-light: #995d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b174c",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 322.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.12952,
    "h": 346.8
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#6B174C
secondary
#3DA162
accent
#E87E40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6B174C

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

Preview Lab → · Contrast checker → · Palette generator →

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