#6C165B#6C165B

#6C165B is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.5% C 0.142 H 337.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#6C165B
RGBrgb(108, 22, 91)
HSLhsl(312, 66%, 25%)
HSVhsv(312, 80%, 42%)
CMYKcmyk(0%, 79.6%, 15.7%, 57.6%)
CIE-LABlab(25.32, 44.28, -19.98)
CIE-LCHlch(25.32, 48.57, 335.72°)
OKLaboklab(37.49% 0.1308 -0.0543)
OKLCHoklch(37.49% 0.142 337.4)
XYZxyz(8.3598, 4.5181, 10.3273)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C165B #166C27
analogous
#52166C #6C165B #6C1630
triadic
#6C165B #5B6C16 #165B6C
tetradic
#6C165B #6C5216 #166C27 #16306C
square
#6C165B #6C5216 #166C27 #16306C
split-complementary
#6C165B #306C16 #166C52
monochromatic
#190515 #390C30 #6C165B #9F2086 #D22BB1

Accessibility & contrast

On white

11.03
#6C165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6C165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C165B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C165B#FFFFFF#000000##FFFFFF
##6C165B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345D
Deuteranopia (green-blind)
#374159
Tritanopia (blue-blind)
#721B37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c165b;
/* rgb */ color: rgb(108, 22, 91);
/* oklch */ color: oklch(37.5% 0.142 337.4);
Tailwind
colors: {
  custom: {
    50: '#995e89',
    500: '#6c165b',
    950: '#000000',
  },
}
SCSS
$custom: #6c165b;
$custom-light: #995e89;
$custom-dark: #000000;
JSON
{
  "hex": "#6c165b",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 311.86,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.14159,
    "h": 337.4
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#6C165B
secondary
#3CA250
accent
#E9603F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C165B

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

Preview Lab → · Contrast checker → · Palette generator →

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