#6A1028#6A1028

#6A1028 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.123 H 12.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#6A1028
RGBrgb(106, 16, 40)
HSLhsl(344, 74%, 24%)
HSVhsv(344, 85%, 42%)
CMYKcmyk(0%, 84.9%, 62.3%, 58.4%)
CIE-LABlab(22.26, 39.68, 10.23)
CIE-LCHlch(22.26, 40.98, 14.46°)
OKLaboklab(34.55% 0.1199 0.0254)
OKLCHoklch(34.55% 0.123 12)
XYZxyz(6.5128, 3.5889, 2.3569)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1028 #106A52
analogous
#6A1055 #6A1028 #6A2510
triadic
#6A1028 #286A10 #10286A
tetradic
#6A1028 #556A10 #106A52 #25106A
square
#6A1028 #556A10 #106A52 #25106A
split-complementary
#6A1028 #106A25 #10556A
monochromatic
#1B040A #350814 #6A1028 #9F183C #D42050

Accessibility & contrast

On white

12.23
#6A1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#6A1028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1028
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1028#FFFFFF#000000##FFFFFF
##6A10281.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A28
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#75001B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #6a1028;
/* rgb */ color: rgb(106, 16, 40);
/* oklch */ color: oklch(34.6% 0.123 12.0);
Tailwind
colors: {
  custom: {
    50: '#9a5961',
    500: '#6a1028',
    950: '#000000',
  },
}
SCSS
$custom: #6a1028;
$custom-light: #9a5961;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1028",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 344,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34552,
    "c": 0.12252,
    "h": 12
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#6A1028
secondary
#34A285
accent
#F0BF37
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6A1028

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

Preview Lab → · Contrast checker → · Palette generator →

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