#6C1238#6C1238

#6C1238 is a dark, vivid pink. Relative luminance 0.039; OKLCH L 35.6% C 0.126 H 1.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#6C1238
RGBrgb(108, 18, 56)
HSLhsl(335, 71%, 25%)
HSVhsv(335, 83%, 42%)
CMYKcmyk(0%, 83.3%, 48.1%, 57.6%)
CIE-LABlab(23.36, 41.06, 0.72)
CIE-LCHlch(23.36, 41.07, 1.01°)
OKLaboklab(35.59% 0.1261 0.0023)
OKLCHoklch(35.59% 0.126 1)
XYZxyz(7.1150, 3.9072, 4.1201)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1238 #126C46
analogous
#6C1265 #6C1238 #6C1912
triadic
#6C1238 #386C12 #12386C
tetradic
#6C1238 #656C12 #126C46 #19126C
square
#6C1238 #656C12 #126C46 #19126C
split-complementary
#6C1238 #126C19 #12656C
monochromatic
#1A040E #38091D #6C1238 #A01B53 #D5236E

Accessibility & contrast

On white

11.79
#6C1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6C1238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1238
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1238#FFFFFF#000000##FFFFFF
##6C12381.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D39
Deuteranopia (green-blind)
#403E36
Tritanopia (blue-blind)
#760023
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6c1238;
/* rgb */ color: rgb(108, 18, 56);
/* oklch */ color: oklch(35.6% 0.126 1.0);
Tailwind
colors: {
  custom: {
    50: '#9b5b6e',
    500: '#6c1238',
    950: '#000000',
  },
}
SCSS
$custom: #6c1238;
$custom-light: #9b5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1238",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 334.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35586,
    "c": 0.12615,
    "h": 1
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#6C1238
secondary
#36A375
accent
#EEA23A
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0407
muted
#7F797A

Preview Lab

Preview with #6C1238

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

Preview Lab → · Contrast checker → · Palette generator →

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