#68271B#68271B

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

Color values

HEX#68271B
RGBrgb(104, 39, 27)
HSLhsl(9, 59%, 26%)
HSVhsv(9, 74%, 41%)
CMYKcmyk(0%, 62.5%, 74%, 59.2%)
CIE-LABlab(25.18, 28.35, 22.52)
CIE-LCHlch(25.18, 36.21, 38.46°)
OKLaboklab(36.58% 0.0814 0.0517)
OKLCHoklch(36.58% 0.096 32.4)
XYZxyz(6.6329, 4.4741, 1.5510)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68271B #1B5C68
analogous
#681B35 #68271B #684D1B
triadic
#68271B #1B6827 #271B68
tetradic
#68271B #35681B #1B5C68 #4D1B68
square
#68271B #35681B #1B5C68 #4D1B68
split-complementary
#68271B #1B684D #1B3568
monochromatic
#180906 #37150E #68271B #993928 #C94B34

Accessibility & contrast

On white

11.08
#68271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#68271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68271B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68271B#FFFFFF#000000##FFFFFF
##68271B1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383319
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#731924
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68271b;
/* rgb */ color: rgb(104, 39, 27);
/* oklch */ color: oklch(36.6% 0.096 32.4);
Tailwind
colors: {
  custom: {
    50: '#996457',
    500: '#68271b',
    950: '#000000',
  },
}
SCSS
$custom: #68271b;
$custom-light: #996457;
$custom-dark: #000000;
JSON
{
  "hex": "#68271b",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 9.351,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36578,
    "c": 0.09639,
    "h": 32.4
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#68271B
secondary
#428F9D
accent
#CAE246
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0F0503
muted
#7E7A78

Preview Lab

Preview with #68271B

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

Preview Lab → · Contrast checker → · Palette generator →

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