#671218#671218

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

Color values

HEX#671218
RGBrgb(103, 18, 24)
HSLhsl(356, 70%, 24%)
HSVhsv(356, 83%, 40%)
CMYKcmyk(0%, 82.5%, 76.7%, 59.6%)
CIE-LABlab(21.52, 37.10, 20.15)
CIE-LCHlch(21.52, 42.22, 28.50°)
OKLaboklab(33.78% 0.1084 0.0459)
OKLCHoklch(33.78% 0.118 23)
XYZxyz(5.9754, 3.3831, 1.2023)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671218 #126761
analogous
#671242 #671218 #673612
triadic
#671218 #186712 #121867
tetradic
#671218 #426712 #126761 #361267
square
#671218 #426712 #126761 #361267
split-complementary
#671218 #126736 #124267
monochromatic
#1A0506 #33090C #671218 #9B1B24 #CF2430

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671218#FFFFFF#000000##FFFFFF
##6712181.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)
#2C2817
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#720015
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #671218;
/* rgb */ color: rgb(103, 18, 24);
/* oklch */ color: oklch(33.8% 0.118 23.0);
Tailwind
colors: {
  custom: {
    50: '#995954',
    500: '#671218',
    950: '#000000',
  },
}
SCSS
$custom: #671218;
$custom-light: #995954;
$custom-dark: #000000;
JSON
{
  "hex": "#671218",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 355.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33782,
    "c": 0.11768,
    "h": 23
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#671218
secondary
#369F97
accent
#EDE03B
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0402
muted
#7F7978

Preview Lab

Preview with #671218

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

Preview Lab → · Contrast checker → · Palette generator →

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