#71175E#71175E

#71175E is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.6% C 0.146 H 338.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#71175E
RGBrgb(113, 23, 94)
HSLhsl(313, 66%, 27%)
HSVhsv(313, 80%, 44%)
CMYKcmyk(0%, 79.6%, 16.8%, 55.7%)
CIE-LABlab(26.54, 45.68, -19.97)
CIE-LCHlch(26.54, 49.85, 336.39°)
OKLaboklab(38.61% 0.1354 -0.0542)
OKLCHoklch(38.61% 0.146 338.2)
XYZxyz(9.1370, 4.9325, 11.0584)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71175E #17712A
analogous
#571771 #71175E #711731
triadic
#71175E #5E7117 #175E71
tetradic
#71175E #715717 #17712A #173171
square
#71175E #715717 #17712A #173171
split-complementary
#71175E #317117 #177157
monochromatic
#190515 #3E0D34 #71175E #A42188 #D42EB1

Accessibility & contrast

On white

10.57
#71175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#71175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71175E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71175E#FFFFFF#000000##FFFFFF
##71175E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#3A445C
Tritanopia (blue-blind)
#781C39
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71175e;
/* rgb */ color: rgb(113, 23, 94);
/* oklch */ color: oklch(38.6% 0.146 338.2);
Tailwind
colors: {
  custom: {
    50: '#9d5f8c',
    500: '#71175e',
    950: '#000000',
  },
}
SCSS
$custom: #71175e;
$custom-light: #9d5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#71175e",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 312.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.14579,
    "h": 338.2
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#71175E
secondary
#3DA753
accent
#E9633F
background
#FAF5F8
surface
#F3EAF0
border
#CDC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #71175E

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

Preview Lab → · Contrast checker → · Palette generator →

#71175E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva