#70175E#70175E

#70175E is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.145 H 337.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#70175E
RGBrgb(112, 23, 94)
HSLhsl(312, 66%, 26%)
HSVhsv(312, 79%, 44%)
CMYKcmyk(0%, 79.5%, 16.1%, 56.1%)
CIE-LABlab(26.35, 45.43, -20.28)
CIE-LCHlch(26.35, 49.75, 335.95°)
OKLaboklab(38.44% 0.1343 -0.0551)
OKLCHoklch(38.44% 0.145 337.7)
XYZxyz(9.0091, 4.8665, 11.0524)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70175E #177029
analogous
#561770 #70175E #701732
triadic
#70175E #5E7017 #175E70
tetradic
#70175E #705617 #177029 #173270
square
#70175E #705617 #177029 #173270
split-complementary
#70175E #327017 #177056
monochromatic
#190515 #3D0D33 #70175E #A32189 #D42DB2

Accessibility & contrast

On white

10.64
#70175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#70175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70175E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70175E#FFFFFF#000000##FFFFFF
##70175E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#39435C
Tritanopia (blue-blind)
#761C39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #70175e;
/* rgb */ color: rgb(112, 23, 94);
/* oklch */ color: oklch(38.4% 0.145 337.7);
Tailwind
colors: {
  custom: {
    50: '#9c5f8c',
    500: '#70175e',
    950: '#000000',
  },
}
SCSS
$custom: #70175e;
$custom-light: #9c5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#70175e",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 312.135,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.14517,
    "h": 337.7
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#70175E
secondary
#3DA652
accent
#E9613F
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #70175E

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

Preview Lab → · Contrast checker → · Palette generator →

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