#6F175E#6F175E

#6F175E is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.3% C 0.145 H 337.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6F175E
RGBrgb(111, 23, 94)
HSLhsl(312, 66%, 26%)
HSVhsv(312, 79%, 44%)
CMYKcmyk(0%, 79.3%, 15.3%, 56.5%)
CIE-LABlab(26.16, 45.17, -20.59)
CIE-LCHlch(26.16, 49.64, 335.50°)
OKLaboklab(38.26% 0.1333 -0.056)
OKLCHoklch(38.26% 0.145 337.2)
XYZxyz(8.8825, 4.8013, 11.0464)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F175E #176F28
analogous
#54176F #6F175E #6F1732
triadic
#6F175E #5E6F17 #175E6F
tetradic
#6F175E #6F5417 #176F28 #17326F
square
#6F175E #6F5417 #176F28 #17326F
split-complementary
#6F175E #326F17 #176F54
monochromatic
#190515 #3C0C33 #6F175E #A22289 #D32DB3

Accessibility & contrast

On white

10.71
#6F175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6F175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F175E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F175E#FFFFFF#000000##FFFFFF
##6F175E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#39435C
Tritanopia (blue-blind)
#751D39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f175e;
/* rgb */ color: rgb(111, 23, 94);
/* oklch */ color: oklch(38.3% 0.145 337.2);
Tailwind
colors: {
  custom: {
    50: '#9c5f8c',
    500: '#6f175e',
    950: '#000000',
  },
}
SCSS
$custom: #6f175e;
$custom-light: #9c5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f175e",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 311.591,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.14455,
    "h": 337.2
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#6F175E
secondary
#3DA551
accent
#E9603F
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6F175E

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

Preview Lab → · Contrast checker → · Palette generator →

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