#6A1247#6A1247

#6A1247 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 35.8% C 0.131 H 349.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#6A1247
RGBrgb(106, 18, 71)
HSLhsl(324, 71%, 24%)
HSVhsv(324, 83%, 42%)
CMYKcmyk(0%, 83%, 33%, 58.4%)
CIE-LABlab(23.51, 42.20, -9.39)
CIE-LCHlch(23.51, 43.23, 347.46°)
OKLaboklab(35.81% 0.1291 -0.0246)
OKLCHoklch(35.81% 0.131 349.2)
XYZxyz(7.2979, 3.9526, 6.3386)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1247 #126A35
analogous
#61126A #6A1247 #6A121B
triadic
#6A1247 #476A12 #12476A
tetradic
#6A1247 #6A6112 #126A35 #121B6A
square
#6A1247 #6A6112 #126A35 #121B6A
split-complementary
#6A1247 #1B6A12 #126A61
monochromatic
#1A0412 #360924 #6A1247 #9E1B6A #D3248D

Accessibility & contrast

On white

11.73
#6A1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#6A1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1247
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1247#FFFFFF#000000##FFFFFF
##6A12471.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E48
Deuteranopia (green-blind)
#3B3E45
Tritanopia (blue-blind)
#720C2B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a1247;
/* rgb */ color: rgb(106, 18, 71);
/* oklch */ color: oklch(35.8% 0.131 349.2);
Tailwind
colors: {
  custom: {
    50: '#985b7a',
    500: '#6a1247',
    950: '#000000',
  },
}
SCSS
$custom: #6a1247;
$custom-light: #985b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1247",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 323.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.13139,
    "h": 349.2
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#6A1247
secondary
#36A261
accent
#EE823A
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0409
muted
#7E797B

Preview Lab

Preview with #6A1247

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

Preview Lab → · Contrast checker → · Palette generator →

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