#6E1227#6E1227

#6E1227 is a dark, vivid red. Relative luminance 0.039; OKLCH L 35.5% C 0.125 H 14.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#6E1227
RGBrgb(110, 18, 39)
HSLhsl(346, 72%, 25%)
HSVhsv(346, 84%, 43%)
CMYKcmyk(0%, 83.6%, 64.5%, 56.9%)
CIE-LABlab(23.32, 40.23, 12.50)
CIE-LCHlch(23.32, 42.13, 17.26°)
OKLaboklab(35.48% 0.1209 0.0305)
OKLCHoklch(35.48% 0.125 14.2)
XYZxyz(7.0137, 3.8951, 2.3016)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1227 #126E59
analogous
#6E1255 #6E1227 #6E2B12
triadic
#6E1227 #276E12 #12276E
tetradic
#6E1227 #556E12 #126E59 #2B126E
square
#6E1227 #556E12 #126E59 #2B126E
split-complementary
#6E1227 #126E2B #12556E
monochromatic
#1A0409 #390914 #6E1227 #A31B3A #D7234C

Accessibility & contrast

On white

11.81
#6E1227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#6E1227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1227
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1227#FFFFFF#000000##FFFFFF
##6E12271.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B27
Deuteranopia (green-blind)
#443E25
Tritanopia (blue-blind)
#79001B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6e1227;
/* rgb */ color: rgb(110, 18, 39);
/* oklch */ color: oklch(35.5% 0.125 14.2);
Tailwind
colors: {
  custom: {
    50: '#9e5b60',
    500: '#6e1227',
    950: '#000000',
  },
}
SCSS
$custom: #6e1227;
$custom-light: #9e5b60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1227",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 346.304,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.12465,
    "h": 14.2
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#6E1227
secondary
#37A58C
accent
#EFC539
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6E1227

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

Preview Lab → · Contrast checker → · Palette generator →

#6E1227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva