#6C1938#6C1938

#6C1938 is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.2% C 0.118 H 2.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#6C1938
RGBrgb(108, 25, 56)
HSLhsl(338, 62%, 26%)
HSVhsv(338, 77%, 42%)
CMYKcmyk(0%, 76.9%, 48.1%, 57.6%)
CIE-LABlab(24.23, 38.63, 1.97)
CIE-LCHlch(24.23, 38.68, 2.92°)
OKLaboklab(36.22% 0.1183 0.0055)
OKLCHoklch(36.22% 0.118 2.7)
XYZxyz(7.2464, 4.1699, 4.1639)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1938 #196C4D
analogous
#6C1961 #6C1938 #6C2319
triadic
#6C1938 #386C19 #19386C
tetradic
#6C1938 #616C19 #196C4D #23196C
square
#6C1938 #616C19 #196C4D #23196C
split-complementary
#6C1938 #196C23 #19616C
monochromatic
#19060D #3A0D1E #6C1938 #9E2552 #CF306C

Accessibility & contrast

On white

11.45
#6C1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6C1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1938
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1938#FFFFFF#000000##FFFFFF
##6C19381.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2F39
Deuteranopia (green-blind)
#423F36
Tritanopia (blue-blind)
#760A26
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1938;
/* rgb */ color: rgb(108, 25, 56);
/* oklch */ color: oklch(36.2% 0.118 2.7);
Tailwind
colors: {
  custom: {
    50: '#9b5e6e',
    500: '#6c1938',
    950: '#000000',
  },
}
SCSS
$custom: #6c1938;
$custom-light: #9b5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1938",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 337.59,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3622,
    "c": 0.11845,
    "h": 2.7
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#6C1938
secondary
#3FA17D
accent
#E5A942
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0507
muted
#7E797A

Preview Lab

Preview with #6C1938

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

Preview Lab → · Contrast checker → · Palette generator →

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