#671217#671217

#671217 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.8% C 0.118 H 23.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#671217
RGBrgb(103, 18, 23)
HSLhsl(356, 70%, 24%)
HSVhsv(356, 83%, 40%)
CMYKcmyk(0%, 82.5%, 77.7%, 59.6%)
CIE-LABlab(21.50, 37.05, 20.80)
CIE-LCHlch(21.50, 42.49, 29.30°)
OKLaboklab(33.77% 0.108 0.0471)
OKLCHoklch(33.77% 0.118 23.6)
XYZxyz(5.9652, 3.3790, 1.1486)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671217 #126762
analogous
#671241 #671217 #673712
triadic
#671217 #176712 #121767
tetradic
#671217 #416712 #126762 #371267
square
#671217 #416712 #126762 #371267
split-complementary
#671217 #126737 #124167
monochromatic
#1A0506 #33090B #671217 #9B1B23 #CF242E

Accessibility & contrast

On white

12.53
#671217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#671217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671217
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671217#FFFFFF#000000##FFFFFF
##6712171.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#720015
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #671217;
/* rgb */ color: rgb(103, 18, 23);
/* oklch */ color: oklch(33.8% 0.118 23.6);
Tailwind
colors: {
  custom: {
    50: '#995954',
    500: '#671217',
    950: '#000000',
  },
}
SCSS
$custom: #671217;
$custom-light: #995954;
$custom-dark: #000000;
JSON
{
  "hex": "#671217",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 356.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.11777,
    "h": 23.6
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#671217
secondary
#369F99
accent
#EDE33B
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0402
muted
#7F7978

Preview Lab

Preview with #671217

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

Preview Lab → · Contrast checker → · Palette generator →

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