#70173A#70173A

#70173A is a dark, vivid pink. Relative luminance 0.044; OKLCH L 36.8% C 0.125 H 2.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#70173A
RGBrgb(112, 23, 58)
HSLhsl(336, 66%, 26%)
HSVhsv(336, 79%, 44%)
CMYKcmyk(0%, 79.5%, 48.2%, 56.1%)
CIE-LABlab(24.84, 40.81, 1.59)
CIE-LCHlch(24.84, 40.84, 2.24°)
OKLaboklab(36.84% 0.1252 0.0045)
OKLCHoklch(36.84% 0.125 2.1)
XYZxyz(7.7528, 4.3641, 4.4363)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70173A #17704D
analogous
#701767 #70173A #702017
triadic
#70173A #3A7017 #173A70
tetradic
#70173A #677017 #17704D #201770
square
#70173A #677017 #17704D #201770
split-complementary
#70173A #177020 #176770
monochromatic
#19050D #3D0D20 #70173A #A32154 #D42D6F

Accessibility & contrast

On white

11.21
#70173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#70173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70173A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70173A#FFFFFF#000000##FFFFFF
##70173A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C303B
Deuteranopia (green-blind)
#444138
Tritanopia (blue-blind)
#7A0526
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #70173a;
/* rgb */ color: rgb(112, 23, 58);
/* oklch */ color: oklch(36.8% 0.125 2.1);
Tailwind
colors: {
  custom: {
    50: '#9e5e6f',
    500: '#70173a',
    950: '#000000',
  },
}
SCSS
$custom: #70173a;
$custom-light: #9e5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#70173a",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 336.404,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.12523,
    "h": 2.1
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#70173A
secondary
#3DA67D
accent
#E9A63F
background
#FAF5F6
surface
#F4E9EC
border
#CEC5C7
text
#0F0507
muted
#7F797A

Preview Lab

Preview with #70173A

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

Preview Lab → · Contrast checker → · Palette generator →

#70173A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva