#6C1258#6C1258

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

Color values

HEX#6C1258
RGBrgb(108, 18, 88)
HSLhsl(313, 71%, 25%)
HSVhsv(313, 83%, 42%)
CMYKcmyk(0%, 83.3%, 18.5%, 57.6%)
CIE-LABlab(24.72, 45.07, -18.92)
CIE-LCHlch(24.72, 48.88, 337.23°)
OKLaboklab(37.02% 0.1342 -0.0513)
OKLCHoklch(37.02% 0.144 339.1)
XYZxyz(8.1623, 4.3262, 9.6358)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1258 #126C26
analogous
#53126C #6C1258 #6C122B
triadic
#6C1258 #586C12 #12586C
tetradic
#6C1258 #6C5312 #126C26 #122B6C
square
#6C1258 #6C5312 #126C26 #122B6C
split-complementary
#6C1258 #2B6C12 #126C53
monochromatic
#1A0415 #38092D #6C1258 #A01B83 #D523AD

Accessibility & contrast

On white

11.26
#6C1258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6C1258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1258
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1258#FFFFFF#000000##FFFFFF
##6C12581.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#374056
Tritanopia (blue-blind)
#731634
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c1258;
/* rgb */ color: rgb(108, 18, 88);
/* oklch */ color: oklch(37.0% 0.144 339.1);
Tailwind
colors: {
  custom: {
    50: '#9a5c87',
    500: '#6c1258',
    950: '#000000',
  },
}
SCSS
$custom: #6c1258;
$custom-light: #9a5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1258",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 313.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.14365,
    "h": 339.1
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#6C1258
secondary
#36A34F
accent
#EE623A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C1258

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

Preview Lab → · Contrast checker → · Palette generator →

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