#340214#340214

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

Color values

HEX#340214
RGBrgb(52, 2, 20)
HSLhsl(338, 93%, 11%)
HSVhsv(338, 96%, 20%)
CMYKcmyk(0%, 96.2%, 61.5%, 79.6%)
CIE-LABlab(7.44, 26.13, 2.27)
CIE-LCHlch(7.44, 26.23, 4.97°)
OKLaboklab(21.25% 0.0802 0.0067)
OKLCHoklch(21.25% 0.081 4.8)
XYZxyz(1.5643, 0.8242, 0.7384)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340214 #023422
analogous
#34022D #340214 #340902
triadic
#340214 #143402 #021434
tetradic
#340214 #2D3402 #023422 #090234
square
#340214 #2D3402 #023422 #090234
split-complementary
#340214 #023409 #022D34
monochromatic
#1D010B #1D010B #340214 #6F042B #AA0741

Accessibility & contrast

On white

18.03
#340214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340214
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340214#FFFFFF#000000##FFFFFF
##3402141.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1014
Deuteranopia (green-blind)
#1C1A13
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340214;
/* rgb */ color: rgb(52, 2, 20);
/* oklch */ color: oklch(21.3% 0.081 4.8);
Tailwind
colors: {
  custom: {
    50: '#6f4851',
    500: '#340214',
    950: '#000000',
  },
}
SCSS
$custom: #340214;
$custom-light: #6f4851;
$custom-dark: #000000;
JSON
{
  "hex": "#340214",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 20
  },
  "hsl": {
    "h": 338.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21251,
    "c": 0.08051,
    "h": 4.8
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#340214
secondary
#1A7856
accent
#FFB229
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340214

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

Preview Lab → · Contrast checker → · Palette generator →

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