#340627#340627

#340627 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.084 H 341.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#340627
RGBrgb(52, 6, 39)
HSLhsl(317, 79%, 11%)
HSVhsv(317, 88%, 20%)
CMYKcmyk(0%, 88.5%, 25%, 79.6%)
CIE-LABlab(9.05, 26.47, -9.72)
CIE-LCHlch(9.05, 28.20, 339.83°)
OKLaboklab(22.71% 0.0795 -0.0261)
OKLCHoklch(22.71% 0.084 341.8)
XYZxyz(1.8476, 1.0070, 2.0161)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340627 #063413
analogous
#2A0634 #340627 #340610
triadic
#340627 #273406 #062734
tetradic
#340627 #342A06 #063413 #061034
square
#340627 #342A06 #063413 #061034
split-complementary
#340627 #103406 #06342A
monochromatic
#1B0315 #1B0315 #340627 #6B0C50 #A21379

Accessibility & contrast

On white

17.48
#340627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340627
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340627#FFFFFF#000000##FFFFFF
##3406271.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1528
Deuteranopia (green-blind)
#191C26
Tritanopia (blue-blind)
#380715
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340627;
/* rgb */ color: rgb(52, 6, 39);
/* oklch */ color: oklch(22.7% 0.084 341.8);
Tailwind
colors: {
  custom: {
    50: '#6e4b61',
    500: '#340627',
    950: '#000000',
  },
}
SCSS
$custom: #340627;
$custom-light: #6e4b61;
$custom-dark: #000000;
JSON
{
  "hex": "#340627",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 316.957,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22705,
    "c": 0.08367,
    "h": 341.8
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#340627
secondary
#217439
accent
#F66932
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340627

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

Preview Lab → · Contrast checker → · Palette generator →

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