#63171F#63171F

#63171F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.6% C 0.108 H 19.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#63171F
RGBrgb(99, 23, 31)
HSLhsl(354, 62%, 24%)
HSVhsv(354, 77%, 39%)
CMYKcmyk(0%, 76.8%, 68.7%, 61.2%)
CIE-LABlab(21.45, 34.28, 15.12)
CIE-LCHlch(21.45, 37.47, 23.80°)
OKLaboklab(33.62% 0.1016 0.0361)
OKLCHoklch(33.62% 0.108 19.5)
XYZxyz(5.6999, 3.3652, 1.6455)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63171F #17635B
analogous
#631745 #63171F #633517
triadic
#63171F #1F6317 #171F63
tetradic
#63171F #456317 #17635B #351763
square
#63171F #456317 #17635B #351763
split-complementary
#63171F #176335 #174563
monochromatic
#190608 #310B0F #63171F #95232F #C62E3E

Accessibility & contrast

On white

12.55
#63171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#63171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63171F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63171F#FFFFFF#000000##FFFFFF
##63171F1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#6D011B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #63171f;
/* rgb */ color: rgb(99, 23, 31);
/* oklch */ color: oklch(33.6% 0.108 19.5);
Tailwind
colors: {
  custom: {
    50: '#955b5a',
    500: '#63171f',
    950: '#000000',
  },
}
SCSS
$custom: #63171f;
$custom-light: #955b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#63171f",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 353.684,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33618,
    "c": 0.10786,
    "h": 19.5
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#63171F
secondary
#3C9A90
accent
#E5D442
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #63171F

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

Preview Lab → · Contrast checker → · Palette generator →

#63171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva