#6A1040#6A1040

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

Color values

HEX#6A1040
RGBrgb(106, 16, 64)
HSLhsl(328, 74%, 24%)
HSVhsv(328, 85%, 42%)
CMYKcmyk(0%, 84.9%, 39.6%, 58.4%)
CIE-LABlab(23.02, 41.95, -5.35)
CIE-LCHlch(23.02, 42.29, 352.74°)
OKLaboklab(35.35% 0.129 -0.0136)
OKLCHoklch(35.35% 0.13 354)
XYZxyz(7.0550, 3.8058, 5.2126)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1040 #106A3A
analogous
#67106A #6A1040 #6A1013
triadic
#6A1040 #406A10 #10406A
tetradic
#6A1040 #6A6710 #106A3A #10136A
square
#6A1040 #6A6710 #106A3A #10136A
split-complementary
#6A1040 #136A10 #106A67
monochromatic
#1B0410 #350820 #6A1040 #9F1860 #D42080

Accessibility & contrast

On white

11.93
#6A1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6A1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1040
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1040#FFFFFF#000000##FFFFFF
##6A10401.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#3C3D3E
Tritanopia (blue-blind)
#730427
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1040;
/* rgb */ color: rgb(106, 16, 64);
/* oklch */ color: oklch(35.4% 0.130 354.0);
Tailwind
colors: {
  custom: {
    50: '#995a74',
    500: '#6a1040',
    950: '#000000',
  },
}
SCSS
$custom: #6a1040;
$custom-light: #995a74;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1040",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 328,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.12973,
    "h": 354
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#6A1040
secondary
#34A267
accent
#F08E37
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A1040

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

Preview Lab → · Contrast checker → · Palette generator →

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