#631312#631312

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

Color values

HEX#631312
RGBrgb(99, 19, 18)
HSLhsl(1, 69%, 23%)
HSVhsv(1, 82%, 39%)
CMYKcmyk(0%, 80.8%, 81.8%, 61.2%)
CIE-LABlab(20.68, 35.13, 22.88)
CIE-LCHlch(20.68, 41.93, 33.07°)
OKLaboklab(32.98% 0.1012 0.0506)
OKLCHoklch(32.98% 0.113 26.6)
XYZxyz(5.4883, 3.1629, 0.8937)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631312 #126263
analogous
#631239 #631312 #633B12
triadic
#631312 #126313 #131263
tetradic
#631312 #396312 #126263 #3B1263
square
#631312 #396312 #126263 #3B1263
split-complementary
#631312 #12633B #123963
monochromatic
#1A0505 #2F0909 #631312 #971D1B #CB2725

Accessibility & contrast

On white

12.86
#631312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631312
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631312#FFFFFF#000000##FFFFFF
##6313121.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2711
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#6E0014
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #631312;
/* rgb */ color: rgb(99, 19, 18);
/* oklch */ color: oklch(33.0% 0.113 26.6);
Tailwind
colors: {
  custom: {
    50: '#975850',
    500: '#631312',
    950: '#000000',
  },
}
SCSS
$custom: #631312;
$custom-light: #975850;
$custom-dark: #000000;
JSON
{
  "hex": "#631312",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.741,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.11316,
    "h": 26.6
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#631312
secondary
#369A9B
accent
#EAEC3C
background
#FAF5F4
surface
#F3E9E7
border
#CDC5C3
text
#0F0402
muted
#7F7978

Preview Lab

Preview with #631312

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

Preview Lab → · Contrast checker → · Palette generator →

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