#6A3147#6A3147

#6A3147 is a dark, moderate pink. Relative luminance 0.057; OKLCH L 39.6% C 0.085 H 357.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6A3147
RGBrgb(106, 49, 71)
HSLhsl(337, 37%, 30%)
HSVhsv(337, 54%, 42%)
CMYKcmyk(0%, 53.8%, 33%, 58.4%)
CIE-LABlab(28.69, 28.14, -1.65)
CIE-LCHlch(28.69, 28.19, 356.65°)
OKLaboklab(39.63% 0.0854 -0.004)
OKLCHoklch(39.63% 0.085 357.3)
XYZxyz(8.1798, 5.7165, 6.6326)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3147 #316A54
analogous
#6A3163 #6A3147 #6A3731
triadic
#6A3147 #476A31 #31476A
tetradic
#6A3147 #636A31 #316A54 #37316A
square
#6A3147 #636A31 #316A54 #37316A
split-complementary
#6A3147 #316A37 #31636A
monochromatic
#160A0F #401E2B #6A3147 #944463 #B56081

Accessibility & contrast

On white

9.80
#6A3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6A3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3147
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3147#FFFFFF#000000##FFFFFF
##6A31471.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D48
Deuteranopia (green-blind)
#484846
Tritanopia (blue-blind)
#722D39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a3147;
/* rgb */ color: rgb(106, 49, 71);
/* oklch */ color: oklch(39.6% 0.085 357.3);
Tailwind
colors: {
  custom: {
    50: '#976b7a',
    500: '#6a3147',
    950: '#000000',
  },
}
SCSS
$custom: #6a3147;
$custom-light: #976b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3147",
  "rgb": {
    "r": 106,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 336.842,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.08548,
    "h": 357.3
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#6A3147
secondary
#5C9B83
accent
#CDA15B
background
#F9F6F7
surface
#F2EBED
border
#CCC6C8
text
#0E0709
muted
#7E7A7B

Preview Lab

Preview with #6A3147

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

Preview Lab → · Contrast checker → · Palette generator →

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