#6A1256#6A1256

#6A1256 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.6% C 0.141 H 339.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#6A1256
RGBrgb(106, 18, 86)
HSLhsl(314, 71%, 24%)
HSVhsv(314, 83%, 42%)
CMYKcmyk(0%, 83%, 18.9%, 58.4%)
CIE-LABlab(24.22, 44.27, -18.39)
CIE-LCHlch(24.22, 47.94, 337.44°)
OKLaboklab(36.55% 0.1319 -0.0498)
OKLCHoklch(36.55% 0.141 339.3)
XYZxyz(7.8401, 4.1695, 9.1942)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1256 #126A26
analogous
#52126A #6A1256 #6A122A
triadic
#6A1256 #566A12 #12566A
tetradic
#6A1256 #6A5212 #126A26 #122A6A
square
#6A1256 #6A5212 #126A26 #122A6A
split-complementary
#6A1256 #2A6A12 #126A52
monochromatic
#1A0415 #36092C #6A1256 #9E1B80 #D324AB

Accessibility & contrast

On white

11.45
#6A1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A1256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1256
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1256#FFFFFF#000000##FFFFFF
##6A12561.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183158
Deuteranopia (green-blind)
#363E54
Tritanopia (blue-blind)
#711633
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a1256;
/* rgb */ color: rgb(106, 18, 86);
/* oklch */ color: oklch(36.6% 0.141 339.3);
Tailwind
colors: {
  custom: {
    50: '#985c86',
    500: '#6a1256',
    950: '#000000',
  },
}
SCSS
$custom: #6a1256;
$custom-light: #985c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1256",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 313.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36552,
    "c": 0.141,
    "h": 339.3
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#6A1256
secondary
#36A24F
accent
#EE633A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1256

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

Preview Lab → · Contrast checker → · Palette generator →

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