#6A174A#6A174A

#6A174A is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.4% C 0.128 H 347.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#6A174A
RGBrgb(106, 23, 74)
HSLhsl(323, 64%, 25%)
HSVhsv(323, 78%, 42%)
CMYKcmyk(0%, 78.3%, 30.2%, 58.4%)
CIE-LABlab(24.23, 40.91, -10.33)
CIE-LCHlch(24.23, 42.20, 345.84°)
OKLaboklab(36.37% 0.1246 -0.0272)
OKLCHoklch(36.37% 0.128 347.7)
XYZxyz(7.4866, 4.1722, 6.8883)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174A #176A37
analogous
#61176A #6A174A #6A1720
triadic
#6A174A #4A6A17 #174A6A
tetradic
#6A174A #6A6117 #176A37 #17206A
square
#6A174A #6A6117 #176A37 #17206A
split-complementary
#6A174A #206A17 #176A61
monochromatic
#190512 #380C27 #6A174A #9C226D #CF2D90

Accessibility & contrast

On white

11.45
#6A174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A174A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A174A#FFFFFF#000000##FFFFFF
##6A174A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#3C3F48
Tritanopia (blue-blind)
#72142E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174a;
/* rgb */ color: rgb(106, 23, 74);
/* oklch */ color: oklch(36.4% 0.128 347.7);
Tailwind
colors: {
  custom: {
    50: '#985d7c',
    500: '#6a174a',
    950: '#000000',
  },
}
SCSS
$custom: #6a174a;
$custom-light: #985d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174a",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 323.133,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.12752,
    "h": 347.7
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#6A174A
secondary
#3DA063
accent
#E78140
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6A174A

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

Preview Lab → · Contrast checker → · Palette generator →

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