#6A174D#6A174D

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

Color values

HEX#6A174D
RGBrgb(106, 23, 77)
HSLhsl(321, 64%, 25%)
HSVhsv(321, 78%, 42%)
CMYKcmyk(0%, 78.3%, 27.4%, 58.4%)
CIE-LABlab(24.37, 41.33, -12.14)
CIE-LCHlch(24.37, 43.07, 343.62°)
OKLaboklab(36.51% 0.1253 -0.0322)
OKLCHoklch(36.51% 0.129 345.6)
XYZxyz(7.5901, 4.2136, 7.4333)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174D #176A34
analogous
#5D176A #6A174D #6A1723
triadic
#6A174D #4D6A17 #174D6A
tetradic
#6A174D #6A5D17 #176A34 #17236A
square
#6A174D #6A5D17 #176A34 #17236A
split-complementary
#6A174D #236A17 #176A5D
monochromatic
#190512 #380C28 #6A174D #9C2272 #CF2D96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A174D#FFFFFF#000000##FFFFFF
##6A174D1.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)
#22314E
Deuteranopia (green-blind)
#3B3F4B
Tritanopia (blue-blind)
#721530
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174d;
/* rgb */ color: rgb(106, 23, 77);
/* oklch */ color: oklch(36.5% 0.129 345.6);
Tailwind
colors: {
  custom: {
    50: '#985d7f',
    500: '#6a174d',
    950: '#000000',
  },
}
SCSS
$custom: #6a174d;
$custom-light: #985d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174d",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 320.964,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.12937,
    "h": 345.6
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#6A174D
secondary
#3DA05F
accent
#E77B40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6A174D

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

Preview Lab → · Contrast checker → · Palette generator →

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