#6C1231#6C1231

#6C1231 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.4% C 0.124 H 6.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#6C1231
RGBrgb(108, 18, 49)
HSLhsl(339, 71%, 25%)
HSVhsv(339, 83%, 42%)
CMYKcmyk(0%, 83.3%, 54.6%, 57.6%)
CIE-LABlab(23.15, 40.40, 5.26)
CIE-LCHlch(23.15, 40.74, 7.42°)
OKLaboklab(35.36% 0.1234 0.0137)
OKLCHoklch(35.36% 0.124 6.3)
XYZxyz(6.9557, 3.8435, 3.2807)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1231 #126C4D
analogous
#6C125E #6C1231 #6C2012
triadic
#6C1231 #316C12 #12316C
tetradic
#6C1231 #5E6C12 #126C4D #20126C
square
#6C1231 #5E6C12 #126C4D #20126C
split-complementary
#6C1231 #126C20 #125E6C
monochromatic
#1A040C #380919 #6C1231 #A01B49 #D52361

Accessibility & contrast

On white

11.87
#6C1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#6C1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1231
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1231#FFFFFF#000000##FFFFFF
##6C12311.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C32
Deuteranopia (green-blind)
#413E2F
Tritanopia (blue-blind)
#760020
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6c1231;
/* rgb */ color: rgb(108, 18, 49);
/* oklch */ color: oklch(35.4% 0.124 6.3);
Tailwind
colors: {
  custom: {
    50: '#9b5b68',
    500: '#6c1231',
    950: '#000000',
  },
}
SCSS
$custom: #6c1231;
$custom-light: #9b5b68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1231",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 339.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.12414,
    "h": 6.3
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#6C1231
secondary
#36A37E
accent
#EEB03A
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0406
muted
#7F797A

Preview Lab

Preview with #6C1231

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

Preview Lab → · Contrast checker → · Palette generator →

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