#6A174B#6A174B

#6A174B is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.4% C 0.128 H 347.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#6A174B
RGBrgb(106, 23, 75)
HSLhsl(322, 64%, 25%)
HSVhsv(322, 78%, 42%)
CMYKcmyk(0%, 78.3%, 29.2%, 58.4%)
CIE-LABlab(24.28, 41.05, -10.93)
CIE-LCHlch(24.28, 42.48, 345.09°)
OKLaboklab(36.42% 0.1248 -0.0289)
OKLCHoklch(36.42% 0.128 347)
XYZxyz(7.5206, 4.1858, 7.0671)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A174B #176A36
analogous
#60176A #6A174B #6A1721
triadic
#6A174B #4B6A17 #174B6A
tetradic
#6A174B #6A6017 #176A36 #17216A
square
#6A174B #6A6017 #176A36 #17216A
split-complementary
#6A174B #216A17 #176A60
monochromatic
#190512 #380C27 #6A174B #9C226F #CF2D92

Accessibility & contrast

On white

11.43
#6A174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A174B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A174B#FFFFFF#000000##FFFFFF
##6A174B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314C
Deuteranopia (green-blind)
#3B3F49
Tritanopia (blue-blind)
#72142F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a174b;
/* rgb */ color: rgb(106, 23, 75);
/* oklch */ color: oklch(36.4% 0.128 347.0);
Tailwind
colors: {
  custom: {
    50: '#985d7d',
    500: '#6a174b',
    950: '#000000',
  },
}
SCSS
$custom: #6a174b;
$custom-light: #985d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a174b",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 322.41,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36418,
    "c": 0.12813,
    "h": 347
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#6A174B
secondary
#3DA062
accent
#E77F40
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #6A174B

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

Preview Lab → · Contrast checker → · Palette generator →

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