#671828#671828

#671828 is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.7% C 0.111 H 13.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#671828
RGBrgb(103, 24, 40)
HSLhsl(348, 62%, 25%)
HSVhsv(348, 77%, 40%)
CMYKcmyk(0%, 76.7%, 61.2%, 59.6%)
CIE-LABlab(22.62, 35.92, 10.61)
CIE-LCHlch(22.62, 37.45, 16.46°)
OKLaboklab(34.7% 0.1082 0.0263)
OKLCHoklch(34.7% 0.111 13.7)
XYZxyz(6.3038, 3.6909, 2.3876)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671828 #186757
analogous
#671850 #671828 #672F18
triadic
#671828 #286718 #182867
tetradic
#671828 #506718 #186757 #2F1867
square
#671828 #506718 #186757 #2F1867
split-complementary
#671828 #18672F #185067
monochromatic
#19060A #350C15 #671828 #99243B #CA2F4F

Accessibility & contrast

On white

12.08
#671828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#671828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671828
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671828#FFFFFF#000000##FFFFFF
##6718281.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C28
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#71031F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #671828;
/* rgb */ color: rgb(103, 24, 40);
/* oklch */ color: oklch(34.7% 0.111 13.7);
Tailwind
colors: {
  custom: {
    50: '#985c61',
    500: '#671828',
    950: '#000000',
  },
}
SCSS
$custom: #671828;
$custom-light: #985c61;
$custom-dark: #000000;
JSON
{
  "hex": "#671828",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 347.848,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34703,
    "c": 0.11132,
    "h": 13.7
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#671828
secondary
#3E9D8A
accent
#E5C443
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #671828

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

Preview Lab → · Contrast checker → · Palette generator →

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