#340311#340311

#340311 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.078 H 9.4°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#340311
RGBrgb(52, 3, 17)
HSLhsl(343, 89%, 11%)
HSVhsv(343, 94%, 20%)
CMYKcmyk(0%, 94.2%, 67.3%, 79.6%)
CIE-LABlab(7.55, 25.29, 4.29)
CIE-LCHlch(7.55, 25.65, 9.64°)
OKLaboklab(21.3% 0.0769 0.0128)
OKLCHoklch(21.3% 0.078 9.4)
XYZxyz(1.5501, 0.8359, 0.6099)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340311 #033426
analogous
#340329 #340311 #340D03
triadic
#340311 #113403 #031134
tetradic
#340311 #293403 #033426 #0D0334
square
#340311 #293403 #033426 #0D0334
split-complementary
#340311 #03340D #032934
monochromatic
#1D0209 #1D0209 #340311 #6E0624 #A80A37

Accessibility & contrast

On white

17.99
#340311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340311
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340311#FFFFFF#000000##FFFFFF
##3403111.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101011
Deuteranopia (green-blind)
#1D1A10
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340311;
/* rgb */ color: rgb(52, 3, 17);
/* oklch */ color: oklch(21.3% 0.078 9.4);
Tailwind
colors: {
  custom: {
    50: '#6f484f',
    500: '#340311',
    950: '#000000',
  },
}
SCSS
$custom: #340311;
$custom-light: #6f484f;
$custom-dark: #000000;
JSON
{
  "hex": "#340311",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 17
  },
  "hsl": {
    "h": 342.857,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21301,
    "c": 0.07798,
    "h": 9.4
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#340311
secondary
#1C775D
accent
#FFC229
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340311

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

Preview Lab → · Contrast checker → · Palette generator →

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