#6A1F4E#6A1F4E

#6A1F4E is a dark, moderate pink. Relative luminance 0.046; OKLCH L 37.4% C 0.119 H 345.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#6A1F4E
RGBrgb(106, 31, 78)
HSLhsl(322, 55%, 27%)
HSVhsv(322, 71%, 42%)
CMYKcmyk(0%, 70.8%, 26.4%, 58.4%)
CIE-LABlab(25.55, 38.28, -11.01)
CIE-LCHlch(25.55, 39.83, 343.96°)
OKLaboklab(37.39% 0.1157 -0.0292)
OKLCHoklch(37.39% 0.119 345.9)
XYZxyz(7.8093, 4.5950, 7.6819)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1F4E #1F6A3B
analogous
#611F6A #6A1F4E #6A1F29
triadic
#6A1F4E #4E6A1F #1F4E6A
tetradic
#6A1F4E #6A611F #1F6A3B #1F296A
square
#6A1F4E #6A611F #1F6A3B #1F296A
split-complementary
#6A1F4E #296A1F #1F6A61
monochromatic
#180711 #3B112B #6A1F4E #992D71 #C63D93

Accessibility & contrast

On white

10.94
#6A1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6A1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1F4E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1F4E#FFFFFF#000000##FFFFFF
##6A1F4E1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344F
Deuteranopia (green-blind)
#3D414C
Tritanopia (blue-blind)
#711E33
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1f4e;
/* rgb */ color: rgb(106, 31, 78);
/* oklch */ color: oklch(37.4% 0.119 345.9);
Tailwind
colors: {
  custom: {
    50: '#98617f',
    500: '#6a1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #6a1f4e;
$custom-light: #98617f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1f4e",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 322.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.11931,
    "h": 345.9
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#6A1F4E
secondary
#479E67
accent
#DE814A
background
#F9F5F7
surface
#F2EAEE
border
#CCC6C9
text
#0E050A
muted
#7E797C

Preview Lab

Preview with #6A1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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