#6C1257#6C1257

#6C1257 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 37.0% C 0.143 H 339.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#6C1257
RGBrgb(108, 18, 87)
HSLhsl(314, 71%, 25%)
HSVhsv(314, 83%, 42%)
CMYKcmyk(0%, 83.3%, 19.4%, 57.6%)
CIE-LABlab(24.67, 44.92, -18.33)
CIE-LCHlch(24.67, 48.52, 337.80°)
OKLaboklab(36.96% 0.1341 -0.0496)
OKLCHoklch(36.96% 0.143 339.7)
XYZxyz(8.1212, 4.3097, 9.4191)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1257 #126C27
analogous
#54126C #6C1257 #6C122A
triadic
#6C1257 #576C12 #12576C
tetradic
#6C1257 #6C5412 #126C27 #122A6C
square
#6C1257 #6C5412 #126C27 #122A6C
split-complementary
#6C1257 #2A6C12 #126C54
monochromatic
#1A0415 #38092D #6C1257 #A01B81 #D523AC

Accessibility & contrast

On white

11.28
#6C1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1257
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1257#FFFFFF#000000##FFFFFF
##6C12571.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#374055
Tritanopia (blue-blind)
#731634
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c1257;
/* rgb */ color: rgb(108, 18, 87);
/* oklch */ color: oklch(37.0% 0.143 339.7);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6c1257',
    950: '#000000',
  },
}
SCSS
$custom: #6c1257;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1257",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 314,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36963,
    "c": 0.14295,
    "h": 339.7
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#6C1257
secondary
#36A350
accent
#EE643A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C1257

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

Preview Lab → · Contrast checker → · Palette generator →

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