#631218#631218

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

Color values

HEX#631218
RGBrgb(99, 18, 24)
HSLhsl(356, 69%, 23%)
HSVhsv(356, 82%, 39%)
CMYKcmyk(0%, 81.8%, 75.8%, 61.2%)
CIE-LABlab(20.64, 35.77, 18.90)
CIE-LCHlch(20.64, 40.46, 27.85°)
OKLaboklab(32.98% 0.1047 0.0434)
OKLCHoklch(32.98% 0.113 22.5)
XYZxyz(5.5274, 3.1521, 1.1813)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631218 #12635D
analogous
#631240 #631218 #633512
triadic
#631218 #186312 #121863
tetradic
#631218 #406312 #12635D #351263
square
#631218 #406312 #12635D #351263
split-complementary
#631218 #126335 #124063
monochromatic
#1A0506 #2F090B #631218 #971B25 #CB2531

Accessibility & contrast

On white

12.88
#631218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631218
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631218#FFFFFF#000000##FFFFFF
##6312181.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2717
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#6E0015
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #631218;
/* rgb */ color: rgb(99, 18, 24);
/* oklch */ color: oklch(33.0% 0.113 22.5);
Tailwind
colors: {
  custom: {
    50: '#965854',
    500: '#631218',
    950: '#000000',
  },
}
SCSS
$custom: #631218;
$custom-light: #965854;
$custom-dark: #000000;
JSON
{
  "hex": "#631218",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 355.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32977,
    "c": 0.11335,
    "h": 22.5
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#631218
secondary
#369B93
accent
#ECDF3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0F0402
muted
#7E7978

Preview Lab

Preview with #631218

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

Preview Lab → · Contrast checker → · Palette generator →

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