#6C2148#6C2148

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

Color values

HEX#6C2148
RGBrgb(108, 33, 72)
HSLhsl(329, 53%, 28%)
HSVhsv(329, 69%, 42%)
CMYKcmyk(0%, 69.4%, 33.3%, 57.6%)
CIE-LABlab(25.99, 37.18, -6.28)
CIE-LCHlch(25.99, 37.71, 350.42°)
OKLaboklab(37.71% 0.1134 -0.0162)
OKLCHoklch(37.71% 0.115 351.9)
XYZxyz(7.8983, 4.7446, 6.6295)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2148 #216C45
analogous
#6A216C #6C2148 #6C2123
triadic
#6C2148 #486C21 #21486C
tetradic
#6C2148 #6C6A21 #216C45 #21236C
square
#6C2148 #6C6A21 #216C45 #21236C
split-complementary
#6C2148 #236C21 #216C6A
monochromatic
#170710 #3D1329 #6C2148 #9B2F67 #C54286

Accessibility & contrast

On white

10.78
#6C2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2148
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2148#FFFFFF#000000##FFFFFF
##6C21481.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#414346
Tritanopia (blue-blind)
#741D31
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c2148;
/* rgb */ color: rgb(108, 33, 72);
/* oklch */ color: oklch(37.7% 0.115 351.9);
Tailwind
colors: {
  custom: {
    50: '#99627b',
    500: '#6c2148',
    950: '#000000',
  },
}
SCSS
$custom: #6c2148;
$custom-light: #99627b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2148",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 328.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.11452,
    "h": 351.9
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#6C2148
secondary
#49A073
accent
#DD914B
background
#F9F6F7
surface
#F2EBED
border
#CCC6C8
text
#0E0509
muted
#7E7A7B

Preview Lab

Preview with #6C2148

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

Preview Lab → · Contrast checker → · Palette generator →

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