#6B174E#6B174E

#6B174E is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.7% C 0.131 H 345.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#6B174E
RGBrgb(107, 23, 78)
HSLhsl(321, 65%, 25%)
HSVhsv(321, 79%, 42%)
CMYKcmyk(0%, 78.5%, 27.1%, 58%)
CIE-LABlab(24.61, 41.74, -12.43)
CIE-LCHlch(24.61, 43.56, 343.42°)
OKLaboklab(36.74% 0.1265 -0.033)
OKLCHoklch(36.74% 0.131 345.4)
XYZxyz(7.7453, 4.2895, 7.6263)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B174E #176B34
analogous
#5E176B #6B174E #6B1724
triadic
#6B174E #4E6B17 #174E6B
tetradic
#6B174E #6B5E17 #176B34 #17246B
square
#6B174E #6B5E17 #176B34 #17246B
split-complementary
#6B174E #246B17 #176B5E
monochromatic
#190512 #390C29 #6B174E #9D2273 #D02D97

Accessibility & contrast

On white

11.30
#6B174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6B174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B174E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B174E#FFFFFF#000000##FFFFFF
##6B174E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#3B404C
Tritanopia (blue-blind)
#731530
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6b174e;
/* rgb */ color: rgb(107, 23, 78);
/* oklch */ color: oklch(36.7% 0.131 345.4);
Tailwind
colors: {
  custom: {
    50: '#995d7f',
    500: '#6b174e',
    950: '#000000',
  },
}
SCSS
$custom: #6b174e;
$custom-light: #995d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b174e",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 320.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36738,
    "c": 0.13076,
    "h": 345.4
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#6B174E
secondary
#3DA15F
accent
#E87A40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6B174E

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

Preview Lab → · Contrast checker → · Palette generator →

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