#6A1A42#6A1A42

#6A1A42 is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.3% C 0.119 H 354.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#6A1A42
RGBrgb(106, 26, 66)
HSLhsl(330, 61%, 26%)
HSVhsv(330, 75%, 42%)
CMYKcmyk(0%, 75.5%, 37.7%, 58.4%)
CIE-LABlab(24.31, 38.74, -4.78)
CIE-LCHlch(24.31, 39.04, 352.97°)
OKLaboklab(36.32% 0.1187 -0.0121)
OKLCHoklch(36.32% 0.119 354.2)
XYZxyz(7.2971, 4.1972, 5.5791)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A42 #1A6A42
analogous
#6A1A6A #6A1A42 #6A1A1A
triadic
#6A1A42 #426A1A #1A426A
tetradic
#6A1A42 #6A6A1A #1A6A42 #1A1A6A
square
#6A1A42 #6A6A1A #1A6A42 #1A1A6A
split-complementary
#6A1A42 #1A6A1A #1A6A6A
monochromatic
#19060F #390E23 #6A1A42 #9B2661 #CC327F

Accessibility & contrast

On white

11.42
#6A1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A42
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A42#FFFFFF#000000##FFFFFF
##6A1A421.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#73132B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a1a42;
/* rgb */ color: rgb(106, 26, 66);
/* oklch */ color: oklch(36.3% 0.119 354.2);
Tailwind
colors: {
  custom: {
    50: '#985e76',
    500: '#6a1a42',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a42;
$custom-light: #985e76;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a42",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 330,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.11934,
    "h": 354.2
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#6A1A42
secondary
#409F70
accent
#E49444
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #6A1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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