#6C1256#6C1256

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

Color values

HEX#6C1256
RGBrgb(108, 18, 86)
HSLhsl(315, 71%, 25%)
HSVhsv(315, 83%, 42%)
CMYKcmyk(0%, 83.3%, 20.4%, 57.6%)
CIE-LABlab(24.62, 44.77, -17.75)
CIE-LCHlch(24.62, 48.16, 338.38°)
OKLaboklab(36.91% 0.1339 -0.0479)
OKLCHoklch(36.91% 0.142 340.3)
XYZxyz(8.0806, 4.2935, 9.2055)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1256 #126C28
analogous
#55126C #6C1256 #6C1229
triadic
#6C1256 #566C12 #12566C
tetradic
#6C1256 #6C5512 #126C28 #12296C
square
#6C1256 #6C5512 #126C28 #12296C
split-complementary
#6C1256 #296C12 #126C55
monochromatic
#1A0415 #38092C #6C1256 #A01B80 #D523AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1256#FFFFFF#000000##FFFFFF
##6C12561.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)
#1A3158
Deuteranopia (green-blind)
#383F54
Tritanopia (blue-blind)
#731533
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1256;
/* rgb */ color: rgb(108, 18, 86);
/* oklch */ color: oklch(36.9% 0.142 340.3);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6c1256',
    950: '#000000',
  },
}
SCSS
$custom: #6c1256;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1256",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 314.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.14225,
    "h": 340.3
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#6C1256
secondary
#36A351
accent
#EE663A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C1256

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

Preview Lab → · Contrast checker → · Palette generator →

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