#6B172F#6B172F

#6B172F is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.6% C 0.118 H 8.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#6B172F
RGBrgb(107, 23, 47)
HSLhsl(343, 65%, 25%)
HSVhsv(343, 79%, 42%)
CMYKcmyk(0%, 78.5%, 56.1%, 58%)
CIE-LABlab(23.49, 38.21, 7.09)
CIE-LCHlch(23.49, 38.86, 10.52°)
OKLaboklab(35.55% 0.1162 0.0181)
OKLCHoklch(35.55% 0.118 8.9)
XYZxyz(6.8835, 3.9448, 3.0877)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B172F #176B53
analogous
#6B1759 #6B172F #6B2917
triadic
#6B172F #2F6B17 #172F6B
tetradic
#6B172F #596B17 #176B53 #29176B
square
#6B172F #596B17 #176B53 #29176B
split-complementary
#6B172F #176B29 #17596B
monochromatic
#19050B #390C19 #6B172F #9D2245 #D02D5B

Accessibility & contrast

On white

11.74
#6B172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#6B172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B172F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B172F#FFFFFF#000000##FFFFFF
##6B172F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b172f;
/* rgb */ color: rgb(107, 23, 47);
/* oklch */ color: oklch(35.6% 0.118 8.9);
Tailwind
colors: {
  custom: {
    50: '#9a5c67',
    500: '#6b172f',
    950: '#000000',
  },
}
SCSS
$custom: #6b172f;
$custom-light: #9a5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#6b172f",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 342.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.11756,
    "h": 8.9
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#6B172F
secondary
#3DA184
accent
#E8B840
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0406
muted
#7F797A

Preview Lab

Preview with #6B172F

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

Preview Lab → · Contrast checker → · Palette generator →

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