#340213#340213

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

Color values

HEX#340213
RGBrgb(52, 2, 19)
HSLhsl(340, 93%, 11%)
HSVhsv(340, 96%, 20%)
CMYKcmyk(0%, 96.2%, 63.5%, 79.6%)
CIE-LABlab(7.41, 26.03, 2.88)
CIE-LCHlch(7.41, 26.19, 6.31°)
OKLaboklab(21.22% 0.0798 0.0085)
OKLCHoklch(21.22% 0.08 6.1)
XYZxyz(1.5556, 0.8207, 0.6925)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340213 #023423
analogous
#34022C #340213 #340A02
triadic
#340213 #133402 #021334
tetradic
#340213 #2C3402 #023423 #0A0234
square
#340213 #2C3402 #023423 #0A0234
split-complementary
#340213 #02340A #022C34
monochromatic
#1D010B #1D010B #340213 #6F0429 #AA073E

Accessibility & contrast

On white

18.04
#340213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340213
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340213#FFFFFF#000000##FFFFFF
##3402131.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1013
Deuteranopia (green-blind)
#1C1A12
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340213;
/* rgb */ color: rgb(52, 2, 19);
/* oklch */ color: oklch(21.2% 0.080 6.1);
Tailwind
colors: {
  custom: {
    50: '#6f4850',
    500: '#340213',
    950: '#000000',
  },
}
SCSS
$custom: #340213;
$custom-light: #6f4850;
$custom-dark: #000000;
JSON
{
  "hex": "#340213",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 339.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21216,
    "c": 0.08023,
    "h": 6.1
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#340213
secondary
#1A7858
accent
#FFB629
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340213

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

Preview Lab → · Contrast checker → · Palette generator →

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