#70175F#70175F

#70175F is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.5% C 0.146 H 337.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#70175F
RGBrgb(112, 23, 95)
HSLhsl(311, 66%, 26%)
HSVhsv(311, 79%, 44%)
CMYKcmyk(0%, 79.5%, 15.2%, 56.1%)
CIE-LABlab(26.40, 45.58, -20.85)
CIE-LCHlch(26.40, 50.12, 335.42°)
OKLaboklab(38.49% 0.1344 -0.0567)
OKLCHoklch(38.49% 0.146 337.1)
XYZxyz(9.0542, 4.8846, 11.2902)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70175F #177028
analogous
#551770 #70175F #701733
triadic
#70175F #5F7017 #175F70
tetradic
#70175F #705517 #177028 #173370
square
#70175F #705517 #177028 #173370
split-complementary
#70175F #337017 #177055
monochromatic
#190516 #3D0D34 #70175F #A3218A #D42DB4

Accessibility & contrast

On white

10.62
#70175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#70175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70175F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70175F#FFFFFF#000000##FFFFFF
##70175F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3661
Deuteranopia (green-blind)
#39435D
Tritanopia (blue-blind)
#761D39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #70175f;
/* rgb */ color: rgb(112, 23, 95);
/* oklch */ color: oklch(38.5% 0.146 337.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f8c',
    500: '#70175f',
    950: '#000000',
  },
}
SCSS
$custom: #70175f;
$custom-light: #9c5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#70175f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 311.461,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38491,
    "c": 0.1459,
    "h": 337.1
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#70175F
secondary
#3DA651
accent
#E95F3F
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #70175F

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

Preview Lab → · Contrast checker → · Palette generator →

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