#6B172E#6B172E

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

Color values

HEX#6B172E
RGBrgb(107, 23, 46)
HSLhsl(344, 65%, 25%)
HSVhsv(344, 79%, 42%)
CMYKcmyk(0%, 78.5%, 57%, 58%)
CIE-LABlab(23.46, 38.12, 7.75)
CIE-LCHlch(23.46, 38.90, 11.49°)
OKLaboklab(35.53% 0.1157 0.0197)
OKLCHoklch(35.53% 0.117 9.7)
XYZxyz(6.8636, 3.9368, 2.9827)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B172E #176B54
analogous
#6B1758 #6B172E #6B2A17
triadic
#6B172E #2E6B17 #172E6B
tetradic
#6B172E #586B17 #176B54 #2A176B
square
#6B172E #586B17 #176B54 #2A176B
split-complementary
#6B172E #176B2A #17586B
monochromatic
#19050B #390C18 #6B172E #9D2244 #D02D59

Accessibility & contrast

On white

11.75
#6B172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B172E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B172E#FFFFFF#000000##FFFFFF
##6B172E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b172e;
/* rgb */ color: rgb(107, 23, 46);
/* oklch */ color: oklch(35.5% 0.117 9.7);
Tailwind
colors: {
  custom: {
    50: '#9a5c66',
    500: '#6b172e',
    950: '#000000',
  },
}
SCSS
$custom: #6b172e;
$custom-light: #9a5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#6b172e",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 343.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.11739,
    "h": 9.7
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#6B172E
secondary
#3DA186
accent
#E8BA40
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0405
muted
#7F797A

Preview Lab

Preview with #6B172E

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

Preview Lab → · Contrast checker → · Palette generator →

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