#631828#631828

#631828 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.107 H 12.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#631828
RGBrgb(99, 24, 40)
HSLhsl(347, 61%, 24%)
HSVhsv(347, 76%, 39%)
CMYKcmyk(0%, 75.8%, 59.6%, 61.2%)
CIE-LABlab(21.80, 34.55, 9.36)
CIE-LCHlch(21.80, 35.80, 15.15°)
OKLaboklab(33.94% 0.1043 0.0234)
OKLCHoklch(33.94% 0.107 12.7)
XYZxyz(5.8558, 3.4599, 2.3666)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631828 #186353
analogous
#63184E #631828 #632E18
triadic
#631828 #286318 #182863
tetradic
#631828 #4E6318 #186353 #2E1863
square
#631828 #4E6318 #186353 #2E1863
split-complementary
#631828 #18632E #184E63
monochromatic
#19060A #320C14 #631828 #94243C #C63050

Accessibility & contrast

On white

12.41
#631828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#631828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631828
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631828#FFFFFF#000000##FFFFFF
##6318281.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A28
Deuteranopia (green-blind)
#3E3A26
Tritanopia (blue-blind)
#6D061F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #631828;
/* rgb */ color: rgb(99, 24, 40);
/* oklch */ color: oklch(33.9% 0.107 12.7);
Tailwind
colors: {
  custom: {
    50: '#945b61',
    500: '#631828',
    950: '#000000',
  },
}
SCSS
$custom: #631828;
$custom-light: #945b61;
$custom-dark: #000000;
JSON
{
  "hex": "#631828",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 347.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33941,
    "c": 0.10689,
    "h": 12.7
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#631828
secondary
#3E9986
accent
#E4C244
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #631828

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

Preview Lab → · Contrast checker → · Palette generator →

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