#682227#682227

#682227 is a dark, moderate red. Relative luminance 0.042; OKLCH L 36.1% C 0.100 H 19.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#682227
RGBrgb(104, 34, 39)
HSLhsl(356, 51%, 27%)
HSVhsv(356, 67%, 41%)
CMYKcmyk(0%, 67.3%, 62.5%, 59.2%)
CIE-LABlab(24.43, 31.73, 13.74)
CIE-LCHlch(24.43, 34.58, 23.41°)
OKLaboklab(36.08% 0.0945 0.0336)
OKLCHoklch(36.08% 0.1 19.6)
XYZxyz(6.6478, 4.2345, 2.3863)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682227 #226863
analogous
#68224A #682227 #684022
triadic
#682227 #276822 #222768
tetradic
#682227 #4A6822 #226863 #402268
square
#682227 #4A6822 #226863 #402268
split-complementary
#682227 #226840 #224A68
monochromatic
#170809 #3A1316 #682227 #963138 #C2434C

Accessibility & contrast

On white

11.37
#682227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#682227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682227
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682227#FFFFFF#000000##FFFFFF
##6822271.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#454025
Tritanopia (blue-blind)
#721424
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #682227;
/* rgb */ color: rgb(104, 34, 39);
/* oklch */ color: oklch(36.1% 0.100 19.6);
Tailwind
colors: {
  custom: {
    50: '#986161',
    500: '#682227',
    950: '#000000',
  },
}
SCSS
$custom: #682227;
$custom-light: #986161;
$custom-dark: #000000;
JSON
{
  "hex": "#682227",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 355.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.10028,
    "h": 19.6
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#682227
secondary
#4A9C96
accent
#DAD04E
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0505
muted
#7E7979

Preview Lab

Preview with #682227

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

Preview Lab → · Contrast checker → · Palette generator →

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