#340117#340117

#340117 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.083 H 0.2°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#340117
RGBrgb(52, 1, 23)
HSLhsl(334, 96%, 10%)
HSVhsv(334, 98%, 20%)
CMYKcmyk(0%, 98.1%, 55.8%, 79.6%)
CIE-LABlab(7.35, 27.00, 0.03)
CIE-LCHlch(7.35, 27.00, 0.06°)
OKLaboklab(21.21% 0.0835 0.0004)
OKLCHoklch(21.21% 0.083 0.2)
XYZxyz(1.5818, 0.8139, 0.8842)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340117 #01341E
analogous
#340130 #340117 #340501
triadic
#340117 #173401 #011734
tetradic
#340117 #303401 #01341E #050134
square
#340117 #303401 #01341E #050134
split-complementary
#340117 #013405 #013034
monochromatic
#1E010D #1E010D #340117 #700232 #AC034C

Accessibility & contrast

On white

18.06
#340117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340117
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340117#FFFFFF#000000##FFFFFF
##3401171.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1018
Deuteranopia (green-blind)
#1B1A16
Tritanopia (blue-blind)
#39000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340117;
/* rgb */ color: rgb(52, 1, 23);
/* oklch */ color: oklch(21.2% 0.083 0.2);
Tailwind
colors: {
  custom: {
    50: '#6f4753',
    500: '#340117',
    950: '#000000',
  },
}
SCSS
$custom: #340117;
$custom-light: #6f4753;
$custom-dark: #000000;
JSON
{
  "hex": "#340117",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 334.118,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21214,
    "c": 0.08345,
    "h": 0.2
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#340117
secondary
#18794F
accent
#FFA329
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080002
muted
#7B7778

Preview Lab

Preview with #340117

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

Preview Lab → · Contrast checker → · Palette generator →

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