#6B175C#6B175C

#6B175C is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.5% C 0.141 H 336.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#6B175C
RGBrgb(107, 23, 92)
HSLhsl(311, 65%, 25%)
HSVhsv(311, 79%, 42%)
CMYKcmyk(0%, 78.5%, 14%, 58%)
CIE-LABlab(25.30, 43.84, -20.68)
CIE-LCHlch(25.30, 48.47, 334.75°)
OKLaboklab(37.46% 0.1288 -0.0563)
OKLCHoklch(37.46% 0.141 336.4)
XYZxyz(8.3017, 4.5121, 10.5568)
Luminance0.0451 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B175C #176B26
analogous
#50176B #6B175C #6B1732
triadic
#6B175C #5C6B17 #175C6B
tetradic
#6B175C #6B5017 #176B26 #17326B
square
#6B175C #6B5017 #176B26 #17326B
split-complementary
#6B175C #326B17 #176B50
monochromatic
#190516 #390C31 #6B175C #9D2287 #D02DB3

Accessibility & contrast

On white

11.04
#6B175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6B175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B175C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B175C#FFFFFF#000000##FFFFFF
##6B175C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345E
Deuteranopia (green-blind)
#36405A
Tritanopia (blue-blind)
#711D38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b175c;
/* rgb */ color: rgb(107, 23, 92);
/* oklch */ color: oklch(37.5% 0.141 336.4);
Tailwind
colors: {
  custom: {
    50: '#985e8a',
    500: '#6b175c',
    950: '#000000',
  },
}
SCSS
$custom: #6b175c;
$custom-light: #985e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b175c",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 310.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.14058,
    "h": 336.4
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#6B175C
secondary
#3DA14F
accent
#E85E40
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B175C

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

Preview Lab → · Contrast checker → · Palette generator →

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