#6A0F31#6A0F31

#6A0F31 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.125 H 5.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#6A0F31
RGBrgb(106, 15, 49)
HSLhsl(338, 75%, 24%)
HSVhsv(338, 86%, 42%)
CMYKcmyk(0%, 85.8%, 53.8%, 58.4%)
CIE-LABlab(22.40, 40.70, 4.15)
CIE-LCHlch(22.40, 40.91, 5.81°)
OKLaboklab(34.73% 0.1246 0.0109)
OKLCHoklch(34.73% 0.125 5)
XYZxyz(6.6697, 3.6285, 3.2543)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F31 #0F6A48
analogous
#6A0F5E #6A0F31 #6A1A0F
triadic
#6A0F31 #316A0F #0F316A
tetradic
#6A0F31 #5E6A0F #0F6A48 #1A0F6A
square
#6A0F31 #5E6A0F #0F6A48 #1A0F6A
split-complementary
#6A0F31 #0F6A1A #0F5E6A
monochromatic
#1B040C #340718 #6A0F31 #A0174A #D51E63

Accessibility & contrast

On white

12.17
#6A0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#6A0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F31
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F31#FFFFFF#000000##FFFFFF
##6A0F311.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#3F3C2F
Tritanopia (blue-blind)
#74001E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a0f31;
/* rgb */ color: rgb(106, 15, 49);
/* oklch */ color: oklch(34.7% 0.125 5.0);
Tailwind
colors: {
  custom: {
    50: '#9a5968',
    500: '#6a0f31',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f31;
$custom-light: #9a5968;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f31",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 337.582,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.12506,
    "h": 5
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#6A0F31
secondary
#32A279
accent
#F2AC36
background
#FAF5F6
surface
#F3E9EB
border
#CDC5C6
text
#0F0406
muted
#7F797A

Preview Lab

Preview with #6A0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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