#6C2152#6C2152

#6C2152 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.1% C 0.121 H 344.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#6C2152
RGBrgb(108, 33, 82)
HSLhsl(321, 53%, 28%)
HSVhsv(321, 69%, 42%)
CMYKcmyk(0%, 69.4%, 24.1%, 57.6%)
CIE-LABlab(26.41, 38.61, -12.33)
CIE-LCHlch(26.41, 40.53, 342.29°)
OKLaboklab(38.15% 0.1162 -0.0328)
OKLCHoklch(38.15% 0.121 344.2)
XYZxyz(8.2515, 4.8859, 8.4895)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2152 #216C3B
analogous
#60216C #6C2152 #6C212D
triadic
#6C2152 #526C21 #21526C
tetradic
#6C2152 #6C6021 #216C3B #212D6C
square
#6C2152 #6C6021 #216C3B #212D6C
split-complementary
#6C2152 #2D6C21 #216C60
monochromatic
#170712 #3D132E #6C2152 #9B2F76 #C54298

Accessibility & contrast

On white

10.62
#6C2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2152
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2152#FFFFFF#000000##FFFFFF
##6C21521.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#3F4350
Tritanopia (blue-blind)
#732136
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c2152;
/* rgb */ color: rgb(108, 33, 82);
/* oklch */ color: oklch(38.1% 0.121 344.2);
Tailwind
colors: {
  custom: {
    50: '#996282',
    500: '#6c2152',
    950: '#000000',
  },
}
SCSS
$custom: #6c2152;
$custom-light: #996282;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2152",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 320.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.12071,
    "h": 344.2
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#6C2152
secondary
#49A067
accent
#DD7E4B
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0E050A
muted
#7E7A7C

Preview Lab

Preview with #6C2152

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

Preview Lab → · Contrast checker → · Palette generator →

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