#6A1242#6A1242

#6A1242 is a dark, vivid pink. Relative luminance 0.039; OKLCH L 35.6% C 0.129 H 352.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#6A1242
RGBrgb(106, 18, 66)
HSLhsl(327, 71%, 24%)
HSVhsv(327, 83%, 42%)
CMYKcmyk(0%, 83%, 37.7%, 58.4%)
CIE-LABlab(23.31, 41.58, -6.29)
CIE-LCHlch(23.31, 42.05, 351.40°)
OKLaboklab(35.59% 0.1277 -0.0161)
OKLCHoklch(35.59% 0.129 352.8)
XYZxyz(7.1440, 3.8910, 5.5280)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1242 #126A3A
analogous
#66126A #6A1242 #6A1216
triadic
#6A1242 #426A12 #12426A
tetradic
#6A1242 #6A6612 #126A3A #12166A
square
#6A1242 #6A6612 #126A3A #12166A
split-complementary
#6A1242 #166A12 #126A66
monochromatic
#1A0410 #360921 #6A1242 #9E1B63 #D32483

Accessibility & contrast

On white

11.81
#6A1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6A1242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1242
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1242#FFFFFF#000000##FFFFFF
##6A12421.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#3C3D40
Tritanopia (blue-blind)
#730828
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a1242;
/* rgb */ color: rgb(106, 18, 66);
/* oklch */ color: oklch(35.6% 0.129 352.8);
Tailwind
colors: {
  custom: {
    50: '#995b76',
    500: '#6a1242',
    950: '#000000',
  },
}
SCSS
$custom: #6a1242;
$custom-light: #995b76;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1242",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 327.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.12872,
    "h": 352.8
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#6A1242
secondary
#36A267
accent
#EE8C3A
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A1242

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

Preview Lab → · Contrast checker → · Palette generator →

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