#70172F#70172F

#70172F is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.5% C 0.123 H 10.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#70172F
RGBrgb(112, 23, 47)
HSLhsl(344, 66%, 26%)
HSVhsv(344, 79%, 44%)
CMYKcmyk(0%, 79.5%, 58%, 56.1%)
CIE-LABlab(24.53, 39.80, 8.69)
CIE-LCHlch(24.53, 40.74, 12.32°)
OKLaboklab(36.51% 0.1207 0.0219)
OKLCHoklch(36.51% 0.123 10.3)
XYZxyz(7.5023, 4.2638, 3.1167)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70172F #177058
analogous
#70175C #70172F #702C17
triadic
#70172F #2F7017 #172F70
tetradic
#70172F #5C7017 #177058 #2C1770
square
#70172F #5C7017 #177058 #2C1770
split-complementary
#70172F #17702C #175C70
monochromatic
#19050B #3D0D1A #70172F #A32144 #D42D5A

Accessibility & contrast

On white

11.34
#70172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#70172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70172F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70172F#FFFFFF#000000##FFFFFF
##70172F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2F2F
Deuteranopia (green-blind)
#46412D
Tritanopia (blue-blind)
#7B0021
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #70172f;
/* rgb */ color: rgb(112, 23, 47);
/* oklch */ color: oklch(36.5% 0.123 10.3);
Tailwind
colors: {
  custom: {
    50: '#9e5d67',
    500: '#70172f',
    950: '#000000',
  },
}
SCSS
$custom: #70172f;
$custom-light: #9e5d67;
$custom-dark: #000000;
JSON
{
  "hex": "#70172f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 343.82,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.12268,
    "h": 10.3
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#70172F
secondary
#3DA68A
accent
#E9BB3F
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#0F0506
muted
#7F797A

Preview Lab

Preview with #70172F

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

Preview Lab → · Contrast checker → · Palette generator →

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