#340313#340313

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

Color values

HEX#340313
RGBrgb(52, 3, 19)
HSLhsl(340, 89%, 11%)
HSVhsv(340, 94%, 20%)
CMYKcmyk(0%, 94.2%, 63.5%, 79.6%)
CIE-LABlab(7.61, 25.48, 3.16)
CIE-LCHlch(7.61, 25.67, 7.08°)
OKLaboklab(21.37% 0.0779 0.0092)
OKLCHoklch(21.37% 0.078 6.7)
XYZxyz(1.5664, 0.8424, 0.6961)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340313 #033424
analogous
#34032B #340313 #340B03
triadic
#340313 #133403 #031334
tetradic
#340313 #2B3403 #033424 #0B0334
square
#340313 #2B3403 #033424 #0B0334
split-complementary
#340313 #03340B #032B34
monochromatic
#1D020B #1D020B #340313 #6E0628 #A80A3D

Accessibility & contrast

On white

17.97
#340313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340313
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340313#FFFFFF#000000##FFFFFF
##3403131.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1013
Deuteranopia (green-blind)
#1C1A12
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340313;
/* rgb */ color: rgb(52, 3, 19);
/* oklch */ color: oklch(21.4% 0.078 6.7);
Tailwind
colors: {
  custom: {
    50: '#6f4850',
    500: '#340313',
    950: '#000000',
  },
}
SCSS
$custom: #340313;
$custom-light: #6f4850;
$custom-dark: #000000;
JSON
{
  "hex": "#340313",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 340.408,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21366,
    "c": 0.07841,
    "h": 6.7
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#340313
secondary
#1C7759
accent
#FFB929
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340313

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

Preview Lab → · Contrast checker → · Palette generator →

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