#6A1240#6A1240

#6A1240 is a dark, vivid pink. Relative luminance 0.039; OKLCH L 35.5% C 0.128 H 354.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#6A1240
RGBrgb(106, 18, 64)
HSLhsl(329, 71%, 24%)
HSVhsv(329, 83%, 42%)
CMYKcmyk(0%, 83%, 39.6%, 58.4%)
CIE-LABlab(23.23, 41.35, -5.03)
CIE-LCHlch(23.23, 41.65, 353.06°)
OKLaboklab(35.51% 0.1271 -0.0128)
OKLCHoklch(35.51% 0.128 354.3)
XYZxyz(7.0861, 3.8678, 5.2229)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1240 #126A3C
analogous
#68126A #6A1240 #6A1214
triadic
#6A1240 #406A12 #12406A
tetradic
#6A1240 #6A6812 #126A3C #12146A
square
#6A1240 #6A6812 #126A3C #12146A
split-complementary
#6A1240 #146A12 #126A68
monochromatic
#1A0410 #360920 #6A1240 #9E1B60 #D3247F

Accessibility & contrast

On white

11.84
#6A1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#6A1240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1240
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1240#FFFFFF#000000##FFFFFF
##6A12401.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D41
Deuteranopia (green-blind)
#3D3D3E
Tritanopia (blue-blind)
#730627
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1240;
/* rgb */ color: rgb(106, 18, 64);
/* oklch */ color: oklch(35.5% 0.128 354.3);
Tailwind
colors: {
  custom: {
    50: '#995b74',
    500: '#6a1240',
    950: '#000000',
  },
}
SCSS
$custom: #6a1240;
$custom-light: #995b74;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1240",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 328.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.12773,
    "h": 354.3
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#6A1240
secondary
#36A269
accent
#EE903A
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A1240

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

Preview Lab → · Contrast checker → · Palette generator →

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