#340127#340127

#340127 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 341.0°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#340127
RGBrgb(52, 1, 39)
HSLhsl(315, 96%, 10%)
HSVhsv(315, 98%, 20%)
CMYKcmyk(0%, 98.1%, 25%, 79.6%)
CIE-LABlab(8.12, 29.16, -11.17)
CIE-LCHlch(8.12, 31.23, 339.04°)
OKLaboklab(22.03% 0.0878 -0.0302)
OKLCHoklch(22.03% 0.093 341)
XYZxyz(1.7933, 0.8985, 1.9980)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340127 #01340E
analogous
#270134 #340127 #34010D
triadic
#340127 #273401 #012734
tetradic
#340127 #342701 #01340E #010D34
square
#340127 #342701 #01340E #010D34
split-complementary
#340127 #0D3401 #013427
monochromatic
#1E0117 #1E0117 #340127 #700254 #AC0381

Accessibility & contrast

On white

17.80
#340127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340127
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340127#FFFFFF#000000##FFFFFF
##3401271.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051228
Deuteranopia (green-blind)
#161B26
Tritanopia (blue-blind)
#380213
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340127;
/* rgb */ color: rgb(52, 1, 39);
/* oklch */ color: oklch(22.0% 0.093 341.0);
Tailwind
colors: {
  custom: {
    50: '#6e4861',
    500: '#340127',
    950: '#000000',
  },
}
SCSS
$custom: #340127;
$custom-light: #6e4861;
$custom-dark: #000000;
JSON
{
  "hex": "#340127",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 315.294,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22033,
    "c": 0.09279,
    "h": 341
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#340127
secondary
#187930
accent
#FF5F29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340127

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

Preview Lab → · Contrast checker → · Palette generator →

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