#63171B#63171B

#63171B is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.5% C 0.108 H 22.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#63171B
RGBrgb(99, 23, 27)
HSLhsl(357, 62%, 24%)
HSVhsv(357, 77%, 39%)
CMYKcmyk(0%, 76.8%, 72.7%, 61.2%)
CIE-LABlab(21.38, 34.03, 17.76)
CIE-LCHlch(21.38, 38.39, 27.56°)
OKLaboklab(33.54% 0.0999 0.0414)
OKLCHoklch(33.54% 0.108 22.5)
XYZxyz(5.6504, 3.3454, 1.3849)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63171B #17635F
analogous
#631741 #63171B #633917
triadic
#63171B #1B6317 #171B63
tetradic
#63171B #416317 #17635F #391763
square
#63171B #416317 #17635F #391763
split-complementary
#63171B #176339 #174163
monochromatic
#190607 #310B0D #63171B #952329 #C62E36

Accessibility & contrast

On white

12.58
#63171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63171B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63171B#FFFFFF#000000##FFFFFF
##63171B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D291A
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#6D0019
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #63171b;
/* rgb */ color: rgb(99, 23, 27);
/* oklch */ color: oklch(33.5% 0.108 22.5);
Tailwind
colors: {
  custom: {
    50: '#965a57',
    500: '#63171b',
    950: '#000000',
  },
}
SCSS
$custom: #63171b;
$custom-light: #965a57;
$custom-dark: #000000;
JSON
{
  "hex": "#63171b",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.842,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33539,
    "c": 0.10816,
    "h": 22.5
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#63171B
secondary
#3C9A95
accent
#E5DD42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #63171B

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

Preview Lab → · Contrast checker → · Palette generator →

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