#34071B#34071B

#34071B is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.2% C 0.074 H 357.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#34071B
RGBrgb(52, 7, 27)
HSLhsl(333, 76%, 12%)
HSVhsv(333, 87%, 20%)
CMYKcmyk(0%, 86.5%, 48.1%, 79.6%)
CIE-LABlab(8.67, 24.19, -1.14)
CIE-LCHlch(8.67, 24.21, 357.30°)
OKLaboklab(22.24% 0.0743 -0.0027)
OKLCHoklch(22.24% 0.074 357.9)
XYZxyz(1.6901, 0.9614, 1.1333)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34071B #073420
analogous
#340732 #34071B #340A07
triadic
#34071B #1B3407 #071B34
tetradic
#34071B #323407 #073420 #0A0734
square
#34071B #323407 #073420 #0A0734
split-complementary
#34071B #07340A #073234
monochromatic
#1B040E #1B040E #34071B #6A0E37 #A01653

Accessibility & contrast

On white

17.61
#34071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#34071B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34071B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34071B#FFFFFF#000000##FFFFFF
##34071B1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10131C
Deuteranopia (green-blind)
#1C1C1A
Tritanopia (blue-blind)
#39030F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34071b;
/* rgb */ color: rgb(52, 7, 27);
/* oklch */ color: oklch(22.2% 0.074 357.9);
Tailwind
colors: {
  custom: {
    50: '#6e4b57',
    500: '#34071b',
    950: '#000000',
  },
}
SCSS
$custom: #34071b;
$custom-light: #6e4b57;
$custom-dark: #000000;
JSON
{
  "hex": "#34071b",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 333.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22239,
    "c": 0.07431,
    "h": 357.9
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#34071B
secondary
#237450
accent
#F39E35
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #34071B

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

Preview Lab → · Contrast checker → · Palette generator →

#34071B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva