#340215#340215

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

Color values

HEX#340215
RGBrgb(52, 2, 21)
HSLhsl(337, 93%, 11%)
HSVhsv(337, 96%, 20%)
CMYKcmyk(0%, 96.2%, 59.6%, 79.6%)
CIE-LABlab(7.48, 26.23, 1.65)
CIE-LCHlch(7.48, 26.28, 3.59°)
OKLaboklab(21.29% 0.0807 0.0049)
OKLCHoklch(21.29% 0.081 3.4)
XYZxyz(1.5734, 0.8279, 0.7863)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340215 #023421
analogous
#34022E #340215 #340802
triadic
#340215 #153402 #021534
tetradic
#340215 #2E3402 #023421 #080234
square
#340215 #2E3402 #023421 #080234
split-complementary
#340215 #023408 #022E34
monochromatic
#1D010C #1D010C #340215 #6F042D #AA0745

Accessibility & contrast

On white

18.02
#340215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340215
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340215#FFFFFF#000000##FFFFFF
##3402151.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340215;
/* rgb */ color: rgb(52, 2, 21);
/* oklch */ color: oklch(21.3% 0.081 3.4);
Tailwind
colors: {
  custom: {
    50: '#6f4852',
    500: '#340215',
    950: '#000000',
  },
}
SCSS
$custom: #340215;
$custom-light: #6f4852;
$custom-dark: #000000;
JSON
{
  "hex": "#340215",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 21
  },
  "hsl": {
    "h": 337.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21287,
    "c": 0.08082,
    "h": 3.4
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#340215
secondary
#1A7854
accent
#FFAE29
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340215

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

Preview Lab → · Contrast checker → · Palette generator →

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