#6F175C#6F175C

#6F175C is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.2% C 0.143 H 338.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6F175C
RGBrgb(111, 23, 92)
HSLhsl(313, 66%, 26%)
HSVhsv(313, 79%, 44%)
CMYKcmyk(0%, 79.3%, 17.1%, 56.5%)
CIE-LABlab(26.06, 44.86, -19.43)
CIE-LCHlch(26.06, 48.89, 336.58°)
OKLaboklab(38.15% 0.133 -0.0527)
OKLCHoklch(38.15% 0.143 338.4)
XYZxyz(8.7939, 4.7659, 10.5799)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F175C #176F2A
analogous
#56176F #6F175C #6F1730
triadic
#6F175C #5C6F17 #175C6F
tetradic
#6F175C #6F5617 #176F2A #17306F
square
#6F175C #6F5617 #176F2A #17306F
split-complementary
#6F175C #306F17 #176F56
monochromatic
#190515 #3C0C32 #6F175C #A22286 #D32DB0

Accessibility & contrast

On white

10.75
#6F175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6F175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F175C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F175C#FFFFFF#000000##FFFFFF
##6F175C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355E
Deuteranopia (green-blind)
#39435A
Tritanopia (blue-blind)
#761C38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f175c;
/* rgb */ color: rgb(111, 23, 92);
/* oklch */ color: oklch(38.2% 0.143 338.4);
Tailwind
colors: {
  custom: {
    50: '#9c5f8a',
    500: '#6f175c',
    950: '#000000',
  },
}
SCSS
$custom: #6f175c;
$custom-light: #9c5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f175c",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 312.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.1431,
    "h": 338.4
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#6F175C
secondary
#3DA553
accent
#E9643F
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0F050B
muted
#7E797C

Preview Lab

Preview with #6F175C

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

Preview Lab → · Contrast checker → · Palette generator →

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