#6A173E#6A173E

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

Color values

HEX#6A173E
RGBrgb(106, 23, 62)
HSLhsl(332, 64%, 25%)
HSVhsv(332, 78%, 42%)
CMYKcmyk(0%, 78.3%, 41.5%, 58.4%)
CIE-LABlab(23.76, 39.41, -2.88)
CIE-LCHlch(23.76, 39.52, 355.83°)
OKLaboklab(35.87% 0.121 -0.0071)
OKLCHoklch(35.87% 0.121 356.7)
XYZxyz(7.1202, 4.0257, 4.9586)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A173E #176A43
analogous
#6A1767 #6A173E #6A1917
triadic
#6A173E #3E6A17 #173E6A
tetradic
#6A173E #676A17 #176A43 #19176A
square
#6A173E #676A17 #176A43 #19176A
split-complementary
#6A173E #176A19 #17676A
monochromatic
#19050F #380C21 #6A173E #9C225B #CF2D79

Accessibility & contrast

On white

11.63
#6A173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A173E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A173E#FFFFFF#000000##FFFFFF
##6A173E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F3F
Deuteranopia (green-blind)
#3F3E3C
Tritanopia (blue-blind)
#730C28
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a173e;
/* rgb */ color: rgb(106, 23, 62);
/* oklch */ color: oklch(35.9% 0.121 356.7);
Tailwind
colors: {
  custom: {
    50: '#995d73',
    500: '#6a173e',
    950: '#000000',
  },
}
SCSS
$custom: #6a173e;
$custom-light: #995d73;
$custom-dark: #000000;
JSON
{
  "hex": "#6a173e",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 331.807,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.12123,
    "h": 356.7
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#6A173E
secondary
#3DA071
accent
#E79940
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A173E

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

Preview Lab → · Contrast checker → · Palette generator →

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