#6C1B4E#6C1B4E

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

Color values

HEX#6C1B4E
RGBrgb(108, 27, 78)
HSLhsl(322, 60%, 26%)
HSVhsv(322, 75%, 42%)
CMYKcmyk(0%, 75%, 27.8%, 57.6%)
CIE-LABlab(25.33, 40.54, -11.31)
CIE-LCHlch(25.33, 42.08, 344.41°)
OKLaboklab(37.3% 0.1229 -0.0299)
OKLCHoklch(37.3% 0.127 346.3)
XYZxyz(7.9518, 4.5229, 7.6605)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B4E #1B6C39
analogous
#621B6C #6C1B4E #6C1B26
triadic
#6C1B4E #4E6C1B #1B4E6C
tetradic
#6C1B4E #6C621B #1B6C39 #1B266C
square
#6C1B4E #6C621B #1B6C39 #1B266C
split-complementary
#6C1B4E #266C1B #1B6C62
monochromatic
#180612 #3B0F2B #6C1B4E #9D2771 #CC3594

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1B4E#FFFFFF#000000##FFFFFF
##6C1B4E1.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)
#25334F
Deuteranopia (green-blind)
#3D414C
Tritanopia (blue-blind)
#741932
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1b4e;
/* rgb */ color: rgb(108, 27, 78);
/* oklch */ color: oklch(37.3% 0.127 346.3);
Tailwind
colors: {
  custom: {
    50: '#995f7f',
    500: '#6c1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b4e;
$custom-light: #995f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b4e",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 322.222,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.1265,
    "h": 346.3
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#6C1B4E
secondary
#42A165
accent
#E37F45
background
#F9F5F7
surface
#F2EAEE
border
#CCC6C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6C1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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