#170702#170702

#170702 is a very dark, muted red. Relative luminance 0.003; OKLCH L 15.3% C 0.033 H 46.2°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#170702
RGBrgb(23, 7, 2)
HSLhsl(14, 84%, 5%)
HSVhsv(14, 91%, 9%)
CMYKcmyk(0%, 69.6%, 91.3%, 91%)
CIE-LABlab(3.06, 4.86, 3.85)
CIE-LCHlch(3.06, 6.20, 38.38°)
OKLaboklab(15.33% 0.023 0.024)
OKLCHoklch(15.33% 0.033 46.2)
XYZxyz(0.4403, 0.3385, 0.0996)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170702 #021217
analogous
#170207 #170702 #171202
triadic
#170702 #021707 #070217
tetradic
#170702 #071702 #021217 #120217
square
#170702 #071702 #021217 #120217
split-complementary
#170702 #021712 #020717
monochromatic
#1C0902 #1C0902 #1C0902 #4F1807 #88290C

Accessibility & contrast

On white

19.67
#170702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#170702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170702
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170702#FFFFFF#000000##FFFFFF
##1707021.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0902
Deuteranopia (green-blind)
#0F0D02
Tritanopia (blue-blind)
#1A0506
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170702;
/* rgb */ color: rgb(23, 7, 2);
/* oklch */ color: oklch(15.3% 0.033 46.2);
Tailwind
colors: {
  custom: {
    50: '#534a48',
    500: '#170702',
    950: '#000000',
  },
}
SCSS
$custom: #170702;
$custom-light: #534a48;
$custom-dark: #000000;
JSON
{
  "hex": "#170702",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 14.286,
    "s": 84,
    "l": 4.902
  },
  "oklch": {
    "l": 0.15325,
    "c": 0.03323,
    "h": 46.2
  },
  "luminance": 0.00338
}

Semantic roles & 50–950 ramp

primary
#170702
secondary
#184C5D
accent
#CAFA2E
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020100
muted
#787777

Preview Lab

Preview with #170702

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

Preview Lab → · Contrast checker → · Palette generator →

#170702 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva