#6A1840#6A1840

#6A1840 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.0% C 0.121 H 355.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#6A1840
RGBrgb(106, 24, 64)
HSLhsl(331, 63%, 25%)
HSVhsv(331, 77%, 42%)
CMYKcmyk(0%, 77.4%, 39.6%, 58.4%)
CIE-LABlab(23.96, 39.28, -3.94)
CIE-LCHlch(23.96, 39.47, 354.27°)
OKLaboklab(36.04% 0.1205 -0.0099)
OKLCHoklch(36.04% 0.121 355.3)
XYZxyz(7.1964, 4.0885, 5.2597)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1840 #186A42
analogous
#6A1869 #6A1840 #6A1918
triadic
#6A1840 #406A18 #18406A
tetradic
#6A1840 #696A18 #186A42 #19186A
square
#6A1840 #696A18 #186A42 #19186A
split-complementary
#6A1840 #186A19 #18696A
monochromatic
#19060F #380D22 #6A1840 #9C235E #CE2F7C

Accessibility & contrast

On white

11.55
#6A1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#6A1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1840
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1840#FFFFFF#000000##FFFFFF
##6A18401.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#3F3F3E
Tritanopia (blue-blind)
#730F29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a1840;
/* rgb */ color: rgb(106, 24, 64);
/* oklch */ color: oklch(36.0% 0.121 355.3);
Tailwind
colors: {
  custom: {
    50: '#985d74',
    500: '#6a1840',
    950: '#000000',
  },
}
SCSS
$custom: #6a1840;
$custom-light: #985d74;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1840",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 330.732,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36042,
    "c": 0.12092,
    "h": 355.3
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#6A1840
secondary
#3EA070
accent
#E69642
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #6A1840

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

Preview Lab → · Contrast checker → · Palette generator →

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