#68271F#68271F

#68271F is a dark, moderate red. Relative luminance 0.045; OKLCH L 36.6% C 0.095 H 29.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#68271F
RGBrgb(104, 39, 31)
HSLhsl(7, 54%, 26%)
HSVhsv(7, 70%, 41%)
CMYKcmyk(0%, 62.5%, 70.2%, 59.2%)
CIE-LABlab(25.24, 28.60, 20.05)
CIE-LCHlch(25.24, 34.93, 35.03°)
OKLaboklab(36.64% 0.083 0.0469)
OKLCHoklch(36.64% 0.095 29.5)
XYZxyz(6.6824, 4.4939, 1.8116)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68271F #1F6068
analogous
#681F3C #68271F #684C1F
triadic
#68271F #1F6827 #271F68
tetradic
#68271F #3C681F #1F6068 #4C1F68
square
#68271F #3C681F #1F6068 #4C1F68
split-complementary
#68271F #1F684C #1F3C68
monochromatic
#180907 #391511 #68271F #97392D #C54B3C

Accessibility & contrast

On white

11.06
#68271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#68271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68271F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68271F#FFFFFF#000000##FFFFFF
##68271F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#721A25
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68271f;
/* rgb */ color: rgb(104, 39, 31);
/* oklch */ color: oklch(36.6% 0.095 29.5);
Tailwind
colors: {
  custom: {
    50: '#98645a',
    500: '#68271f',
    950: '#000000',
  },
}
SCSS
$custom: #68271f;
$custom-light: #98645a;
$custom-dark: #000000;
JSON
{
  "hex": "#68271f",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 6.575,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.09536,
    "h": 29.5
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#68271F
secondary
#46939C
accent
#CDDD4A
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0F0504
muted
#7E7A79

Preview Lab

Preview with #68271F

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

Preview Lab → · Contrast checker → · Palette generator →

#68271F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva