#340207#340207

#340207 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.079 H 21.0°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#340207
RGBrgb(52, 2, 7)
HSLhsl(354, 93%, 11%)
HSVhsv(354, 96%, 20%)
CMYKcmyk(0%, 96.2%, 86.5%, 79.6%)
CIE-LABlab(7.13, 25.07, 8.35)
CIE-LCHlch(7.13, 26.42, 18.42°)
OKLaboklab(20.89% 0.0739 0.0284)
OKLCHoklch(20.89% 0.079 21)
XYZxyz(1.4764, 0.7891, 0.2755)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340207 #02342F
analogous
#340220 #340207 #341602
triadic
#340207 #073402 #020734
tetradic
#340207 #203402 #02342F #160234
square
#340207 #203402 #02342F #160234
split-complementary
#340207 #023416 #022034
monochromatic
#1D0104 #1D0104 #340207 #6F040F #AA0717

Accessibility & contrast

On white

18.14
#340207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#340207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340207
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340207#FFFFFF#000000##FFFFFF
##3402071.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F07
Deuteranopia (green-blind)
#1E1A06
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340207;
/* rgb */ color: rgb(52, 2, 7);
/* oklch */ color: oklch(20.9% 0.079 21.0);
Tailwind
colors: {
  custom: {
    50: '#70484a',
    500: '#340207',
    950: '#000000',
  },
}
SCSS
$custom: #340207;
$custom-light: #70484a;
$custom-dark: #000000;
JSON
{
  "hex": "#340207",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 7
  },
  "hsl": {
    "h": 354,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20893,
    "c": 0.07918,
    "h": 21
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#340207
secondary
#1A786F
accent
#FFEA29
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080001
muted
#7B7777

Preview Lab

Preview with #340207

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

Preview Lab → · Contrast checker → · Palette generator →

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