#340310#340310

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

Color values

HEX#340310
RGBrgb(52, 3, 16)
HSLhsl(344, 89%, 11%)
HSVhsv(344, 94%, 20%)
CMYKcmyk(0%, 94.2%, 69.2%, 79.6%)
CIE-LABlab(7.52, 25.20, 4.82)
CIE-LCHlch(7.52, 25.65, 10.84°)
OKLaboklab(21.27% 0.0765 0.0145)
OKLCHoklch(21.27% 0.078 10.7)
XYZxyz(1.5424, 0.8328, 0.5696)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340310 #033427
analogous
#340328 #340310 #340E03
triadic
#340310 #103403 #031034
tetradic
#340310 #283403 #033427 #0E0334
square
#340310 #283403 #033427 #0E0334
split-complementary
#340310 #03340E #032834
monochromatic
#1D0209 #1D0209 #340310 #6E0622 #A80A34

Accessibility & contrast

On white

18.00
#340310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340310
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340310#FFFFFF#000000##FFFFFF
##3403101.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340310;
/* rgb */ color: rgb(52, 3, 16);
/* oklch */ color: oklch(21.3% 0.078 10.7);
Tailwind
colors: {
  custom: {
    50: '#6f484e',
    500: '#340310',
    950: '#000000',
  },
}
SCSS
$custom: #340310;
$custom-light: #6f484e;
$custom-dark: #000000;
JSON
{
  "hex": "#340310",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 16
  },
  "hsl": {
    "h": 344.082,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2127,
    "c": 0.07781,
    "h": 10.7
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#340310
secondary
#1C775F
accent
#FFC629
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340310

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

Preview Lab → · Contrast checker → · Palette generator →

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