#621226#621226

#621226 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.1% C 0.112 H 11.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#621226
RGBrgb(98, 18, 38)
HSLhsl(345, 69%, 23%)
HSVhsv(345, 82%, 38%)
CMYKcmyk(0%, 81.6%, 61.2%, 61.6%)
CIE-LABlab(20.71, 36.36, 9.24)
CIE-LCHlch(20.71, 37.52, 14.26°)
OKLaboklab(33.08% 0.1099 0.023)
OKLCHoklch(33.08% 0.112 11.8)
XYZxyz(5.6037, 3.1700, 2.1502)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621226 #12624E
analogous
#62124E #621226 #622612
triadic
#621226 #266212 #122662
tetradic
#621226 #4E6212 #12624E #261262
square
#621226 #4E6212 #12624E #261262
split-complementary
#621226 #126226 #124E62
monochromatic
#1A050A #2E0912 #621226 #961B3A #C9254E

Accessibility & contrast

On white

12.85
#621226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#621226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621226
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621226#FFFFFF#000000##FFFFFF
##6212261.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282726
Deuteranopia (green-blind)
#3C3824
Tritanopia (blue-blind)
#6C001B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #621226;
/* rgb */ color: rgb(98, 18, 38);
/* oklch */ color: oklch(33.1% 0.112 11.8);
Tailwind
colors: {
  custom: {
    50: '#945860',
    500: '#621226',
    950: '#000000',
  },
}
SCSS
$custom: #621226;
$custom-light: #945860;
$custom-dark: #000000;
JSON
{
  "hex": "#621226",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 345,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.11228,
    "h": 11.8
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#621226
secondary
#369A81
accent
#ECC03C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #621226

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

Preview Lab → · Contrast checker → · Palette generator →

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