#6A174E#6A174E

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

Color values

HEX#6A174E
RGBrgb(106, 23, 78)
HSLhsl(320, 64%, 25%)
HSVhsv(320, 78%, 42%)
CMYKcmyk(0%, 78.3%, 26.4%, 58.4%)
CIE-LABlab(24.41, 41.47, -12.75)
CIE-LCHlch(24.41, 43.38, 342.91°)
OKLaboklab(36.56% 0.1255 -0.0339)
OKLCHoklch(36.56% 0.13 344.9)
XYZxyz(7.6257, 4.2278, 7.6207)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174E #176A33
analogous
#5C176A #6A174E #6A1724
triadic
#6A174E #4E6A17 #174E6A
tetradic
#6A174E #6A5C17 #176A33 #17246A
square
#6A174E #6A5C17 #176A33 #17246A
split-complementary
#6A174E #246A17 #176A5C
monochromatic
#190513 #380C29 #6A174E #9C2273 #CF2D98

Accessibility & contrast

On white

11.38
#6A174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A174E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A174E#FFFFFF#000000##FFFFFF
##6A174E1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#3A3F4C
Tritanopia (blue-blind)
#711630
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174e;
/* rgb */ color: rgb(106, 23, 78);
/* oklch */ color: oklch(36.6% 0.130 344.9);
Tailwind
colors: {
  custom: {
    50: '#985d7f',
    500: '#6a174e',
    950: '#000000',
  },
}
SCSS
$custom: #6a174e;
$custom-light: #985d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174e",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 320.241,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.13002,
    "h": 344.9
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#6A174E
secondary
#3DA05E
accent
#E77940
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6A174E

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

Preview Lab → · Contrast checker → · Palette generator →

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