#671226#671226

#671226 is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.1% C 0.117 H 13.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#671226
RGBrgb(103, 18, 38)
HSLhsl(346, 70%, 24%)
HSVhsv(346, 83%, 40%)
CMYKcmyk(0%, 82.5%, 63.1%, 59.6%)
CIE-LABlab(21.79, 37.96, 10.88)
CIE-LCHlch(21.79, 39.49, 15.99°)
OKLaboklab(34.07% 0.1144 0.0268)
OKLCHoklch(34.07% 0.117 13.2)
XYZxyz(6.1603, 3.4570, 2.1762)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671226 #126753
analogous
#671250 #671226 #672812
triadic
#671226 #266712 #122667
tetradic
#671226 #506712 #126753 #281267
square
#671226 #506712 #126753 #281267
split-complementary
#671226 #126728 #125067
monochromatic
#1A050A #330913 #671226 #9B1B39 #CF244C

Accessibility & contrast

On white

12.42
#671226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#671226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671226
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671226#FFFFFF#000000##FFFFFF
##6712261.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2926
Deuteranopia (green-blind)
#403A24
Tritanopia (blue-blind)
#71001B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #671226;
/* rgb */ color: rgb(103, 18, 38);
/* oklch */ color: oklch(34.1% 0.117 13.2);
Tailwind
colors: {
  custom: {
    50: '#985960',
    500: '#671226',
    950: '#000000',
  },
}
SCSS
$custom: #671226;
$custom-light: #985960;
$custom-dark: #000000;
JSON
{
  "hex": "#671226",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 345.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.11746,
    "h": 13.2
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#671226
secondary
#369F86
accent
#EDC33B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0404
muted
#7E7979

Preview Lab

Preview with #671226

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

Preview Lab → · Contrast checker → · Palette generator →

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