#340217#340217

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

Color values

HEX#340217
RGBrgb(52, 2, 23)
HSLhsl(335, 93%, 11%)
HSVhsv(335, 96%, 20%)
CMYKcmyk(0%, 96.2%, 55.8%, 79.6%)
CIE-LABlab(7.55, 26.45, 0.31)
CIE-LCHlch(7.55, 26.45, 0.68°)
OKLaboklab(21.36% 0.0815 0.0011)
OKLCHoklch(21.36% 0.082 0.8)
XYZxyz(1.5927, 0.8356, 0.8879)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340217 #02341F
analogous
#340230 #340217 #340602
triadic
#340217 #173402 #021734
tetradic
#340217 #303402 #02341F #060234
square
#340217 #303402 #02341F #060234
split-complementary
#340217 #023406 #023034
monochromatic
#1D010D #1D010D #340217 #6F0431 #AA074B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340217#FFFFFF#000000##FFFFFF
##3402171.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)
#0D1018
Deuteranopia (green-blind)
#1B1A16
Tritanopia (blue-blind)
#39000A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340217;
/* rgb */ color: rgb(52, 2, 23);
/* oklch */ color: oklch(21.4% 0.082 0.8);
Tailwind
colors: {
  custom: {
    50: '#6f4853',
    500: '#340217',
    950: '#000000',
  },
}
SCSS
$custom: #340217;
$custom-light: #6f4853;
$custom-dark: #000000;
JSON
{
  "hex": "#340217",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 334.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21364,
    "c": 0.08154,
    "h": 0.8
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#340217
secondary
#1A7850
accent
#FFA529
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340217

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

Preview Lab → · Contrast checker → · Palette generator →

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