#6A173A#6A173A

#6A173A is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.7% C 0.120 H 359.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#6A173A
RGBrgb(106, 23, 58)
HSLhsl(335, 64%, 25%)
HSVhsv(335, 78%, 42%)
CMYKcmyk(0%, 78.3%, 45.3%, 58.4%)
CIE-LABlab(23.62, 38.97, -0.34)
CIE-LCHlch(23.62, 38.97, 359.50°)
OKLaboklab(35.72% 0.1196 -0.0004)
OKLCHoklch(35.72% 0.12 359.8)
XYZxyz(7.0145, 3.9834, 4.4017)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A173A #176A47
analogous
#6A1763 #6A173A #6A1E17
triadic
#6A173A #3A6A17 #173A6A
tetradic
#6A173A #636A17 #176A47 #1E176A
square
#6A173A #636A17 #176A47 #1E176A
split-complementary
#6A173A #176A1E #17636A
monochromatic
#19050E #380C1E #6A173A #9C2256 #CF2D71

Accessibility & contrast

On white

11.69
#6A173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#6A173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A173A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A173A#FFFFFF#000000##FFFFFF
##6A173A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#403E38
Tritanopia (blue-blind)
#730A26
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a173a;
/* rgb */ color: rgb(106, 23, 58);
/* oklch */ color: oklch(35.7% 0.120 359.8);
Tailwind
colors: {
  custom: {
    50: '#995d70',
    500: '#6a173a',
    950: '#000000',
  },
}
SCSS
$custom: #6a173a;
$custom-light: #995d70;
$custom-dark: #000000;
JSON
{
  "hex": "#6a173a",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 334.699,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35719,
    "c": 0.11961,
    "h": 359.8
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#6A173A
secondary
#3DA076
accent
#E7A140
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0E0407
muted
#7E797A

Preview Lab

Preview with #6A173A

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

Preview Lab → · Contrast checker → · Palette generator →

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