#681227#681227

#681227 is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.3% C 0.119 H 12.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#681227
RGBrgb(104, 18, 39)
HSLhsl(345, 70%, 24%)
HSVhsv(345, 83%, 41%)
CMYKcmyk(0%, 82.7%, 62.5%, 59.2%)
CIE-LABlab(22.03, 38.35, 10.54)
CIE-LCHlch(22.03, 39.77, 15.36°)
OKLaboklab(34.29% 0.1157 0.0261)
OKLCHoklch(34.29% 0.119 12.7)
XYZxyz(6.2921, 3.5231, 2.2678)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681227 #126853
analogous
#681252 #681227 #682812
triadic
#681227 #276812 #122768
tetradic
#681227 #526812 #126853 #281268
square
#681227 #526812 #126853 #281268
split-complementary
#681227 #126828 #125268
monochromatic
#1A050A #340913 #681227 #9C1B3B #D0244E

Accessibility & contrast

On white

12.32
#681227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#681227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681227
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681227#FFFFFF#000000##FFFFFF
##6812271.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2927
Deuteranopia (green-blind)
#403B25
Tritanopia (blue-blind)
#72001B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #681227;
/* rgb */ color: rgb(104, 18, 39);
/* oklch */ color: oklch(34.3% 0.119 12.7);
Tailwind
colors: {
  custom: {
    50: '#995a60',
    500: '#681227',
    950: '#000000',
  },
}
SCSS
$custom: #681227;
$custom-light: #995a60;
$custom-dark: #000000;
JSON
{
  "hex": "#681227",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 345.349,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34293,
    "c": 0.11858,
    "h": 12.7
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#681227
secondary
#36A086
accent
#EDC23B
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #681227

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

Preview Lab → · Contrast checker → · Palette generator →

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