#340203#340203

#340203 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 26.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#340203
RGBrgb(52, 2, 3)
HSLhsl(359, 93%, 11%)
HSVhsv(359, 96%, 20%)
CMYKcmyk(0%, 96.2%, 94.2%, 79.6%)
CIE-LABlab(7.05, 24.79, 9.86)
CIE-LCHlch(7.05, 26.68, 21.69°)
OKLaboklab(20.8% 0.0714 0.0355)
OKLCHoklch(20.8% 0.08 26.5)
XYZxyz(1.4545, 0.7803, 0.1602)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340203 #023433
analogous
#34021C #340203 #341A02
triadic
#340203 #033402 #020334
tetradic
#340203 #1C3402 #023433 #1A0234
square
#340203 #1C3402 #023433 #1A0234
split-complementary
#340203 #02341A #021C34
monochromatic
#1D0102 #1D0102 #340203 #6F0406 #AA070A

Accessibility & contrast

On white

18.17
#340203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340203
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340203#FFFFFF#000000##FFFFFF
##3402031.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E03
Deuteranopia (green-blind)
#1E1A02
Tritanopia (blue-blind)
#3A0003
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340203;
/* rgb */ color: rgb(52, 2, 3);
/* oklch */ color: oklch(20.8% 0.080 26.5);
Tailwind
colors: {
  custom: {
    50: '#704748',
    500: '#340203',
    950: '#000000',
  },
}
SCSS
$custom: #340203;
$custom-light: #704748;
$custom-dark: #000000;
JSON
{
  "hex": "#340203",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 3
  },
  "hsl": {
    "h": 358.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20803,
    "c": 0.07978,
    "h": 26.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#340203
secondary
#1A7876
accent
#FFFB29
background
#F7F4F4
surface
#EDE6E6
border
#C8C2C2
text
#080000
muted
#7B7777

Preview Lab

Preview with #340203

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

Preview Lab → · Contrast checker → · Palette generator →

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