#6A1B4E#6A1B4E

#6A1B4E is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.0% C 0.125 H 345.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#6A1B4E
RGBrgb(106, 27, 78)
HSLhsl(321, 59%, 26%)
HSVhsv(321, 75%, 42%)
CMYKcmyk(0%, 74.5%, 26.4%, 58.4%)
CIE-LABlab(24.95, 39.95, -11.92)
CIE-LCHlch(24.95, 41.69, 343.38°)
OKLaboklab(36.95% 0.1208 -0.0317)
OKLCHoklch(36.95% 0.125 345.3)
XYZxyz(7.7112, 4.3989, 7.6492)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B4E #1B6A37
analogous
#5E1B6A #6A1B4E #6A1B26
triadic
#6A1B4E #4E6A1B #1B4E6A
tetradic
#6A1B4E #6A5E1B #1B6A37 #1B266A
square
#6A1B4E #6A5E1B #1B6A37 #1B266A
split-complementary
#6A1B4E #266A1B #1B6A5E
monochromatic
#180612 #390F2A #6A1B4E #9B2772 #CB3496

Accessibility & contrast

On white

11.17
#6A1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6A1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B4E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B4E#FFFFFF#000000##FFFFFF
##6A1B4E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#3C404C
Tritanopia (blue-blind)
#711A32
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1b4e;
/* rgb */ color: rgb(106, 27, 78);
/* oklch */ color: oklch(37.0% 0.125 345.3);
Tailwind
colors: {
  custom: {
    50: '#985f7f',
    500: '#6a1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b4e;
$custom-light: #985f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b4e",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 321.266,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36952,
    "c": 0.12492,
    "h": 345.3
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#6A1B4E
secondary
#429F63
accent
#E37D45
background
#F9F5F7
surface
#F2EAEE
border
#CCC6C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6A1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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