#6A172F#6A172F

#6A172F is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.4% C 0.117 H 8.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#6A172F
RGBrgb(106, 23, 47)
HSLhsl(343, 64%, 25%)
HSVhsv(343, 78%, 42%)
CMYKcmyk(0%, 78.3%, 55.7%, 58.4%)
CIE-LABlab(23.28, 37.89, 6.77)
CIE-LCHlch(23.28, 38.49, 10.14°)
OKLaboklab(35.36% 0.1152 0.0174)
OKLCHoklch(35.36% 0.117 8.6)
XYZxyz(6.7640, 3.8831, 3.0821)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A172F #176A52
analogous
#6A1758 #6A172F #6A2917
triadic
#6A172F #2F6A17 #172F6A
tetradic
#6A172F #586A17 #176A52 #29176A
square
#6A172F #586A17 #176A52 #29176A
split-complementary
#6A172F #176A29 #17586A
monochromatic
#19050B #380C19 #6A172F #9C2245 #CF2D5C

Accessibility & contrast

On white

11.82
#6A172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6A172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A172F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A172F#FFFFFF#000000##FFFFFF
##6A172F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2F
Deuteranopia (green-blind)
#423E2D
Tritanopia (blue-blind)
#740321
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a172f;
/* rgb */ color: rgb(106, 23, 47);
/* oklch */ color: oklch(35.4% 0.117 8.6);
Tailwind
colors: {
  custom: {
    50: '#9a5c67',
    500: '#6a172f',
    950: '#000000',
  },
}
SCSS
$custom: #6a172f;
$custom-light: #9a5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#6a172f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 342.651,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35362,
    "c": 0.11654,
    "h": 8.6
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#6A172F
secondary
#3DA083
accent
#E7B740
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A172F

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

Preview Lab → · Contrast checker → · Palette generator →

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