#631812#631812

#631812 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.5% C 0.108 H 28.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#631812
RGBrgb(99, 24, 18)
HSLhsl(4, 69%, 23%)
HSVhsv(4, 82%, 39%)
CMYKcmyk(0%, 75.8%, 81.8%, 61.2%)
CIE-LABlab(21.40, 33.16, 23.66)
CIE-LCHlch(21.40, 40.74, 35.51°)
OKLaboklab(33.51% 0.095 0.0522)
OKLCHoklch(33.51% 0.108 28.8)
XYZxyz(5.5820, 3.3504, 0.9249)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631812 #125D63
analogous
#631235 #631812 #634012
triadic
#631812 #126318 #181263
tetradic
#631812 #356312 #125D63 #401263
square
#631812 #356312 #125D63 #401263
split-complementary
#631812 #126340 #123563
monochromatic
#1A0605 #2F0B09 #631812 #97251B #CB3125

Accessibility & contrast

On white

12.57
#631812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#631812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631812
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631812#FFFFFF#000000##FFFFFF
##6318121.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2911
Deuteranopia (green-blind)
#41390F
Tritanopia (blue-blind)
#6E0017
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #631812;
/* rgb */ color: rgb(99, 24, 18);
/* oklch */ color: oklch(33.5% 0.108 28.8);
Tailwind
colors: {
  custom: {
    50: '#965b50',
    500: '#631812',
    950: '#000000',
  },
}
SCSS
$custom: #631812;
$custom-light: #965b50;
$custom-dark: #000000;
JSON
{
  "hex": "#631812",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 4.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.10843,
    "h": 28.8
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#631812
secondary
#36939B
accent
#DFEC3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0F0402
muted
#7E7978

Preview Lab

Preview with #631812

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

Preview Lab → · Contrast checker → · Palette generator →

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