#6A0F42#6A0F42

#6A0F42 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.4% C 0.132 H 352.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#6A0F42
RGBrgb(106, 15, 66)
HSLhsl(326, 75%, 24%)
HSVhsv(326, 86%, 42%)
CMYKcmyk(0%, 85.8%, 37.7%, 58.4%)
CIE-LABlab(23.00, 42.46, -6.75)
CIE-LCHlch(23.00, 42.99, 350.97°)
OKLaboklab(35.36% 0.1305 -0.0174)
OKLCHoklch(35.36% 0.132 352.4)
XYZxyz(7.0985, 3.8001, 5.5129)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F42 #0F6A37
analogous
#640F6A #6A0F42 #6A0F14
triadic
#6A0F42 #426A0F #0F426A
tetradic
#6A0F42 #6A640F #0F6A37 #0F146A
square
#6A0F42 #6A640F #0F6A37 #0F146A
split-complementary
#6A0F42 #146A0F #0F6A64
monochromatic
#1B0411 #340721 #6A0F42 #A01763 #D51E85

Accessibility & contrast

On white

11.93
#6A0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0F42
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F42#FFFFFF#000000##FFFFFF
##6A0F421.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C43
Deuteranopia (green-blind)
#3C3D40
Tritanopia (blue-blind)
#730427
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a0f42;
/* rgb */ color: rgb(106, 15, 66);
/* oklch */ color: oklch(35.4% 0.132 352.4);
Tailwind
colors: {
  custom: {
    50: '#995a76',
    500: '#6a0f42',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f42;
$custom-light: #995a76;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f42",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 326.374,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35364,
    "c": 0.13165,
    "h": 352.4
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#6A0F42
secondary
#32A264
accent
#F28936
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #6A0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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