#671227#671227

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

Color values

HEX#671227
RGBrgb(103, 18, 39)
HSLhsl(345, 70%, 24%)
HSVhsv(345, 83%, 40%)
CMYKcmyk(0%, 82.5%, 62.1%, 59.6%)
CIE-LABlab(21.81, 38.04, 10.21)
CIE-LCHlch(21.81, 39.38, 15.03°)
OKLaboklab(34.1% 0.1148 0.0253)
OKLCHoklch(34.1% 0.118 12.4)
XYZxyz(6.1767, 3.4636, 2.2624)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671227 #126752
analogous
#671251 #671227 #672712
triadic
#671227 #276712 #122767
tetradic
#671227 #516712 #126752 #271267
square
#671227 #516712 #126752 #271267
split-complementary
#671227 #126727 #125167
monochromatic
#1A050A #330913 #671227 #9B1B3B #CF244E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671227#FFFFFF#000000##FFFFFF
##6712271.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)
#2A2927
Deuteranopia (green-blind)
#3F3A25
Tritanopia (blue-blind)
#71001B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #671227;
/* rgb */ color: rgb(103, 18, 39);
/* oklch */ color: oklch(34.1% 0.118 12.4);
Tailwind
colors: {
  custom: {
    50: '#985960',
    500: '#671227',
    950: '#000000',
  },
}
SCSS
$custom: #671227;
$custom-light: #985960;
$custom-dark: #000000;
JSON
{
  "hex": "#671227",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 345.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34096,
    "c": 0.11756,
    "h": 12.4
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#671227
secondary
#369F85
accent
#EDC13B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0405
muted
#7E7979

Preview Lab

Preview with #671227

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

Preview Lab → · Contrast checker → · Palette generator →

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