#6A174F#6A174F

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

Color values

HEX#6A174F
RGBrgb(106, 23, 79)
HSLhsl(320, 64%, 25%)
HSVhsv(320, 78%, 42%)
CMYKcmyk(0%, 78.3%, 25.5%, 58.4%)
CIE-LABlab(24.46, 41.61, -13.35)
CIE-LCHlch(24.46, 43.70, 342.21°)
OKLaboklab(36.61% 0.1257 -0.0356)
OKLCHoklch(36.61% 0.131 344.2)
XYZxyz(7.6618, 4.2423, 7.8110)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174F #176A32
analogous
#5B176A #6A174F #6A1725
triadic
#6A174F #4F6A17 #174F6A
tetradic
#6A174F #6A5B17 #176A32 #17256A
square
#6A174F #6A5B17 #176A32 #17256A
split-complementary
#6A174F #256A17 #176A5B
monochromatic
#190513 #380C2A #6A174F #9C2274 #CF2D9A

Accessibility & contrast

On white

11.36
#6A174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A174F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A174F#FFFFFF#000000##FFFFFF
##6A174F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213151
Deuteranopia (green-blind)
#3A3F4D
Tritanopia (blue-blind)
#711631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174f;
/* rgb */ color: rgb(106, 23, 79);
/* oklch */ color: oklch(36.6% 0.131 344.2);
Tailwind
colors: {
  custom: {
    50: '#985d80',
    500: '#6a174f',
    950: '#000000',
  },
}
SCSS
$custom: #6a174f;
$custom-light: #985d80;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 319.518,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.13068,
    "h": 344.2
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#6A174F
secondary
#3DA05D
accent
#E77740
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6A174F

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

Preview Lab → · Contrast checker → · Palette generator →

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