#6A173B#6A173B

#6A173B is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.8% C 0.120 H 359.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#6A173B
RGBrgb(106, 23, 59)
HSLhsl(334, 64%, 25%)
HSVhsv(334, 78%, 42%)
CMYKcmyk(0%, 78.3%, 44.3%, 58.4%)
CIE-LABlab(23.65, 39.08, -0.97)
CIE-LCHlch(23.65, 39.09, 358.57°)
OKLaboklab(35.75% 0.12 -0.0021)
OKLCHoklch(35.75% 0.12 359)
XYZxyz(7.0402, 3.9936, 4.5369)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A173B #176A46
analogous
#6A1764 #6A173B #6A1D17
triadic
#6A173B #3B6A17 #173B6A
tetradic
#6A173B #646A17 #176A46 #1D176A
square
#6A173B #646A17 #176A46 #1D176A
split-complementary
#6A173B #176A1D #17646A
monochromatic
#19050E #380C1F #6A173B #9C2257 #CF2D73

Accessibility & contrast

On white

11.68
#6A173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#6A173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A173B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A173B#FFFFFF#000000##FFFFFF
##6A173B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3C
Deuteranopia (green-blind)
#3F3E39
Tritanopia (blue-blind)
#730A27
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a173b;
/* rgb */ color: rgb(106, 23, 59);
/* oklch */ color: oklch(35.8% 0.120 359.0);
Tailwind
colors: {
  custom: {
    50: '#995d70',
    500: '#6a173b',
    950: '#000000',
  },
}
SCSS
$custom: #6a173b;
$custom-light: #995d70;
$custom-dark: #000000;
JSON
{
  "hex": "#6a173b",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 333.976,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35755,
    "c": 0.11999,
    "h": 359
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#6A173B
secondary
#3DA075
accent
#E79F40
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0E0407
muted
#7E797A

Preview Lab

Preview with #6A173B

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

Preview Lab → · Contrast checker → · Palette generator →

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