#340315#340315

#340315 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.079 H 4.1°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#340315
RGBrgb(52, 3, 21)
HSLhsl(338, 89%, 11%)
HSVhsv(338, 94%, 20%)
CMYKcmyk(0%, 94.2%, 59.6%, 79.6%)
CIE-LABlab(7.67, 25.68, 1.93)
CIE-LCHlch(7.67, 25.75, 4.31°)
OKLaboklab(21.44% 0.0788 0.0056)
OKLCHoklch(21.44% 0.079 4.1)
XYZxyz(1.5842, 0.8496, 0.7899)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340315 #033422
analogous
#34032D #340315 #340903
triadic
#340315 #153403 #031534
tetradic
#340315 #2D3403 #033422 #090334
square
#340315 #2D3403 #033422 #090334
split-complementary
#340315 #033409 #032D34
monochromatic
#1D020C #1D020C #340315 #6E062C #A80A44

Accessibility & contrast

On white

17.95
#340315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340315
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340315#FFFFFF#000000##FFFFFF
##3403151.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1115
Deuteranopia (green-blind)
#1C1A14
Tritanopia (blue-blind)
#3A000A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340315;
/* rgb */ color: rgb(52, 3, 21);
/* oklch */ color: oklch(21.4% 0.079 4.1);
Tailwind
colors: {
  custom: {
    50: '#6f4852',
    500: '#340315',
    950: '#000000',
  },
}
SCSS
$custom: #340315;
$custom-light: #6f4852;
$custom-dark: #000000;
JSON
{
  "hex": "#340315",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 21
  },
  "hsl": {
    "h": 337.959,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21436,
    "c": 0.07898,
    "h": 4.1
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#340315
secondary
#1C7756
accent
#FFB029
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340315

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

Preview Lab → · Contrast checker → · Palette generator →

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