#631212#631212

#631212 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.9% C 0.114 H 26.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#631212
RGBrgb(99, 18, 18)
HSLhsl(0, 69%, 23%)
HSVhsv(0, 82%, 39%)
CMYKcmyk(0%, 81.8%, 81.8%, 61.2%)
CIE-LABlab(20.56, 35.49, 22.74)
CIE-LCHlch(20.56, 42.15, 32.65°)
OKLaboklab(32.89% 0.1024 0.0503)
OKLCHoklch(32.89% 0.114 26.2)
XYZxyz(5.4717, 3.1298, 0.8882)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631212 #126363
analogous
#63123A #631212 #633A12
triadic
#631212 #126312 #121263
tetradic
#631212 #3A6312 #126363 #3A1263
square
#631212 #3A6312 #126363 #3A1263
split-complementary
#631212 #12633A #123A63
monochromatic
#1A0505 #2F0909 #631212 #971B1B #CB2525

Accessibility & contrast

On white

12.92
#631212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631212
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631212#FFFFFF#000000##FFFFFF
##6312121.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#6E0013
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #631212;
/* rgb */ color: rgb(99, 18, 18);
/* oklch */ color: oklch(32.9% 0.114 26.2);
Tailwind
colors: {
  custom: {
    50: '#975850',
    500: '#631212',
    950: '#000000',
  },
}
SCSS
$custom: #631212;
$custom-light: #975850;
$custom-dark: #000000;
JSON
{
  "hex": "#631212",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.11405,
    "h": 26.2
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#631212
secondary
#369B9B
accent
#ECEC3C
background
#FAF5F4
surface
#F3E9E7
border
#CDC5C3
text
#0F0402
muted
#7F7978

Preview Lab

Preview with #631212

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

Preview Lab → · Contrast checker → · Palette generator →

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