#6B173A#6B173A

#6B173A is a dark, vivid pink. Relative luminance 0.040; OKLCH L 35.9% C 0.121 H 0.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#6B173A
RGBrgb(107, 23, 58)
HSLhsl(335, 65%, 25%)
HSVhsv(335, 79%, 42%)
CMYKcmyk(0%, 78.5%, 45.8%, 58%)
CIE-LABlab(23.82, 39.28, -0.02)
CIE-LCHlch(23.82, 39.28, 359.98°)
OKLaboklab(35.91% 0.1205 0.0004)
OKLCHoklch(35.91% 0.121 0.2)
XYZxyz(7.1341, 4.0450, 4.4073)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B173A #176B48
analogous
#6B1764 #6B173A #6B1E17
triadic
#6B173A #3A6B17 #173A6B
tetradic
#6B173A #646B17 #176B48 #1E176B
square
#6B173A #646B17 #176B48 #1E176B
split-complementary
#6B173A #176B1E #17646B
monochromatic
#19050E #390C1F #6B173A #9D2255 #D02D71

Accessibility & contrast

On white

11.61
#6B173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#6B173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B173A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B173A#FFFFFF#000000##FFFFFF
##6B173A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E3B
Deuteranopia (green-blind)
#403F38
Tritanopia (blue-blind)
#750926
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6b173a;
/* rgb */ color: rgb(107, 23, 58);
/* oklch */ color: oklch(35.9% 0.121 0.2);
Tailwind
colors: {
  custom: {
    50: '#9a5d70',
    500: '#6b173a',
    950: '#000000',
  },
}
SCSS
$custom: #6b173a;
$custom-light: #9a5d70;
$custom-dark: #000000;
JSON
{
  "hex": "#6b173a",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 335,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.12054,
    "h": 0.2
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#6B173A
secondary
#3DA177
accent
#E8A240
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0F0507
muted
#7E797A

Preview Lab

Preview with #6B173A

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

Preview Lab → · Contrast checker → · Palette generator →

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