#6B165B#6B165B

#6B165B is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.3% C 0.141 H 336.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#6B165B
RGBrgb(107, 22, 91)
HSLhsl(311, 66%, 25%)
HSVhsv(311, 79%, 42%)
CMYKcmyk(0%, 79.4%, 15%, 58%)
CIE-LABlab(25.12, 44.02, -20.29)
CIE-LCHlch(25.12, 48.47, 335.26°)
OKLaboklab(37.32% 0.1297 -0.0552)
OKLCHoklch(37.32% 0.141 336.9)
XYZxyz(8.2388, 4.4557, 10.3216)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B165B #166B26
analogous
#50166B #6B165B #6B1631
triadic
#6B165B #5B6B16 #165B6B
tetradic
#6B165B #6B5016 #166B26 #16316B
square
#6B165B #6B5016 #166B26 #16316B
split-complementary
#6B165B #316B16 #166B50
monochromatic
#190516 #380C30 #6B165B #9E2086 #D12BB1

Accessibility & contrast

On white

11.11
#6B165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6B165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B165B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B165B#FFFFFF#000000##FFFFFF
##6B165B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#364059
Tritanopia (blue-blind)
#711C37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b165b;
/* rgb */ color: rgb(107, 22, 91);
/* oklch */ color: oklch(37.3% 0.141 336.9);
Tailwind
colors: {
  custom: {
    50: '#995e89',
    500: '#6b165b',
    950: '#000000',
  },
}
SCSS
$custom: #6b165b;
$custom-light: #995e89;
$custom-dark: #000000;
JSON
{
  "hex": "#6b165b",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 311.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37322,
    "c": 0.14097,
    "h": 336.9
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#6B165B
secondary
#3BA14F
accent
#E95F3F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6B165B

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

Preview Lab → · Contrast checker → · Palette generator →

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