#6A173F#6A173F

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

Color values

HEX#6A173F
RGBrgb(106, 23, 63)
HSLhsl(331, 64%, 25%)
HSVhsv(331, 78%, 42%)
CMYKcmyk(0%, 78.3%, 40.6%, 58.4%)
CIE-LABlab(23.79, 39.53, -3.51)
CIE-LCHlch(23.79, 39.69, 354.93°)
OKLaboklab(35.91% 0.1214 -0.0087)
OKLCHoklch(35.91% 0.122 355.9)
XYZxyz(7.1479, 4.0367, 5.1044)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A173F #176A42
analogous
#6A1768 #6A173F #6A1817
triadic
#6A173F #3F6A17 #173F6A
tetradic
#6A173F #686A17 #176A42 #18176A
square
#6A173F #686A17 #176A42 #18176A
split-complementary
#6A173F #176A18 #17686A
monochromatic
#19050F #380C21 #6A173F #9C225D #CF2D7B

Accessibility & contrast

On white

11.62
#6A173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A173F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A173F#FFFFFF#000000##FFFFFF
##6A173F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#3F3E3D
Tritanopia (blue-blind)
#730D29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a173f;
/* rgb */ color: rgb(106, 23, 63);
/* oklch */ color: oklch(35.9% 0.122 355.9);
Tailwind
colors: {
  custom: {
    50: '#995d74',
    500: '#6a173f',
    950: '#000000',
  },
}
SCSS
$custom: #6a173f;
$custom-light: #995d74;
$custom-dark: #000000;
JSON
{
  "hex": "#6a173f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 331.084,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.12167,
    "h": 355.9
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#6A173F
secondary
#3DA070
accent
#E79740
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #6A173F

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

Preview Lab → · Contrast checker → · Palette generator →

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