#631226#631226

#631226 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.3% C 0.113 H 12.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#631226
RGBrgb(99, 18, 38)
HSLhsl(345, 69%, 23%)
HSVhsv(345, 82%, 39%)
CMYKcmyk(0%, 81.8%, 61.6%, 61.2%)
CIE-LABlab(20.93, 36.68, 9.57)
CIE-LCHlch(20.93, 37.91, 14.62°)
OKLaboklab(33.28% 0.1108 0.0238)
OKLCHoklch(33.28% 0.113 12.1)
XYZxyz(5.7123, 3.2260, 2.1552)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631226 #12634F
analogous
#63124E #631226 #632612
triadic
#631226 #266312 #122663
tetradic
#631226 #4E6312 #12634F #261263
square
#631226 #4E6312 #12634F #261263
split-complementary
#631226 #126326 #124E63
monochromatic
#1A050A #2F0912 #631226 #971B3A #CB254E

Accessibility & contrast

On white

12.77
#631226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#631226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631226
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631226#FFFFFF#000000##FFFFFF
##6312261.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282826
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#6D001B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #631226;
/* rgb */ color: rgb(99, 18, 38);
/* oklch */ color: oklch(33.3% 0.113 12.1);
Tailwind
colors: {
  custom: {
    50: '#955960',
    500: '#631226',
    950: '#000000',
  },
}
SCSS
$custom: #631226;
$custom-light: #955960;
$custom-dark: #000000;
JSON
{
  "hex": "#631226",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 345.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33279,
    "c": 0.11333,
    "h": 12.1
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#631226
secondary
#369B82
accent
#ECC13C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #631226

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

Preview Lab → · Contrast checker → · Palette generator →

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