#6A0F40#6A0F40

#6A0F40 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.3% C 0.131 H 353.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#6A0F40
RGBrgb(106, 15, 64)
HSLhsl(328, 75%, 24%)
HSVhsv(328, 86%, 42%)
CMYKcmyk(0%, 85.8%, 39.6%, 58.4%)
CIE-LABlab(22.92, 42.23, -5.50)
CIE-LCHlch(22.92, 42.59, 352.59°)
OKLaboklab(35.28% 0.1299 -0.014)
OKLCHoklch(35.28% 0.131 353.8)
XYZxyz(7.0406, 3.7769, 5.2078)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F40 #0F6A39
analogous
#660F6A #6A0F40 #6A0F12
triadic
#6A0F40 #406A0F #0F406A
tetradic
#6A0F40 #6A660F #0F6A39 #0F126A
square
#6A0F40 #6A660F #0F6A39 #0F126A
split-complementary
#6A0F40 #126A0F #0F6A66
monochromatic
#1B0410 #340720 #6A0F40 #A01760 #D51E81

Accessibility & contrast

On white

11.96
#6A0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6A0F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F40
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F40#FFFFFF#000000##FFFFFF
##6A0F401.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#3C3D3E
Tritanopia (blue-blind)
#730226
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a0f40;
/* rgb */ color: rgb(106, 15, 64);
/* oklch */ color: oklch(35.3% 0.131 353.8);
Tailwind
colors: {
  custom: {
    50: '#995a74',
    500: '#6a0f40',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f40;
$custom-light: #995a74;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f40",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 327.692,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.13066,
    "h": 353.8
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#6A0F40
secondary
#32A266
accent
#F28D36
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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