#6C2147#6C2147

#6C2147 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.7% C 0.114 H 352.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#6C2147
RGBrgb(108, 33, 71)
HSLhsl(330, 53%, 28%)
HSVhsv(330, 69%, 42%)
CMYKcmyk(0%, 69.4%, 34.3%, 57.6%)
CIE-LABlab(25.96, 37.05, -5.66)
CIE-LCHlch(25.96, 37.48, 351.31°)
OKLaboklab(37.67% 0.1131 -0.0145)
OKLCHoklch(37.67% 0.114 352.7)
XYZxyz(7.8659, 4.7317, 6.4591)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2147 #216C46
analogous
#6B216C #6C2147 #6C2122
triadic
#6C2147 #476C21 #21476C
tetradic
#6C2147 #6C6B21 #216C46 #21226C
square
#6C2147 #6C6B21 #216C46 #21226C
split-complementary
#6C2147 #226C21 #216C6B
monochromatic
#17070F #3D1328 #6C2147 #9B2F66 #C54285

Accessibility & contrast

On white

10.79
#6C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6C2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2147
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2147#FFFFFF#000000##FFFFFF
##6C21471.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#424245
Tritanopia (blue-blind)
#741C31
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c2147;
/* rgb */ color: rgb(108, 33, 71);
/* oklch */ color: oklch(37.7% 0.114 352.7);
Tailwind
colors: {
  custom: {
    50: '#99627a',
    500: '#6c2147',
    950: '#000000',
  },
}
SCSS
$custom: #6c2147;
$custom-light: #99627a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2147",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 329.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.11398,
    "h": 352.7
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#6C2147
secondary
#49A074
accent
#DD934B
background
#F9F6F7
surface
#F2EBED
border
#CCC6C8
text
#0E0509
muted
#7E7A7B

Preview Lab

Preview with #6C2147

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

Preview Lab → · Contrast checker → · Palette generator →

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